diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-01 11:55:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-01 11:55:45 +0300 |
commit | 3b4a8ac5cadf6b0c5f6ae6f650da94435aba29c7 (patch) | |
tree | bfd15f6646b91a072db12f0aa5d8d257f3138733 /src/gui/widgets/tabs/setup_video.cpp | |
parent | ec5a06754164bb2f77d3627990f896c040fc1c76 (diff) | |
download | manaplus-3b4a8ac5cadf6b0c5f6ae6f650da94435aba29c7.tar.gz manaplus-3b4a8ac5cadf6b0c5f6ae6f650da94435aba29c7.tar.bz2 manaplus-3b4a8ac5cadf6b0c5f6ae6f650da94435aba29c7.tar.xz manaplus-3b4a8ac5cadf6b0c5f6ae6f650da94435aba29c7.zip |
fix code style.
Diffstat (limited to 'src/gui/widgets/tabs/setup_video.cpp')
-rw-r--r-- | src/gui/widgets/tabs/setup_video.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp index c977318e6..45ada01df 100644 --- a/src/gui/widgets/tabs/setup_video.cpp +++ b/src/gui/widgets/tabs/setup_video.cpp @@ -84,7 +84,9 @@ class ModeListModel final : public gcn::ListModel int getIndexOf(const std::string &widthXHeightMode); private: +#ifndef ANDROID void addCustomMode(const std::string &mode); +#endif StringVect mVideoModes; }; @@ -130,6 +132,7 @@ ModeListModel::ModeListModel() : #endif } +#ifndef ANDROID void ModeListModel::addCustomMode(const std::string &mode) { StringVectCIter it = mVideoModes.begin(); @@ -142,6 +145,7 @@ void ModeListModel::addCustomMode(const std::string &mode) } mVideoModes.push_back(mode); } +#endif int ModeListModel::getIndexOf(const std::string &widthXHeightMode) { |