diff options
Diffstat (limited to 'src/gui/models')
-rw-r--r-- | src/gui/models/modelistmodel.cpp | 6 | ||||
-rw-r--r-- | src/gui/models/modelistmodel.h | 2 | ||||
-rw-r--r-- | src/gui/models/typelistmodel.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/models/modelistmodel.cpp b/src/gui/models/modelistmodel.cpp index 75959cf12..5c63cf15e 100644 --- a/src/gui/models/modelistmodel.cpp +++ b/src/gui/models/modelistmodel.cpp @@ -51,7 +51,7 @@ static bool modeSorter(const std::string &mode1, const std::string &mode2) return false; } -#endif +#endif // ANDROID ModeListModel::ModeListModel() : mVideoModes() @@ -69,7 +69,7 @@ ModeListModel::ModeListModel() : std::sort(mVideoModes.begin(), mVideoModes.end(), &modeSorter); mVideoModes.push_back("custom"); -#endif +#endif // ANDROID } #ifndef ANDROID @@ -85,7 +85,7 @@ void ModeListModel::addCustomMode(const std::string &mode) } mVideoModes.push_back(mode); } -#endif +#endif // ANDROID int ModeListModel::getIndexOf(const std::string &widthXHeightMode) { diff --git a/src/gui/models/modelistmodel.h b/src/gui/models/modelistmodel.h index 9e5339a3d..4bdd29417 100644 --- a/src/gui/models/modelistmodel.h +++ b/src/gui/models/modelistmodel.h @@ -61,7 +61,7 @@ class ModeListModel final : public ListModel private: #ifndef ANDROID void addCustomMode(const std::string &mode); -#endif +#endif // ANDROID StringVect mVideoModes; }; diff --git a/src/gui/models/typelistmodel.h b/src/gui/models/typelistmodel.h index 6d96568c7..11f32ddeb 100644 --- a/src/gui/models/typelistmodel.h +++ b/src/gui/models/typelistmodel.h @@ -39,9 +39,9 @@ class TypeListModel final : public ListModel int getNumberOfElements() override final A_WARN_UNUSED #if defined(TMWA_SUPPORT) { return 3; } -#else +#else // defined(TMWA_SUPPORT) { return 2; } -#endif +#endif // defined(TMWA_SUPPORT) /** * Used to get an element from the list |