summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-01 11:55:45 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-01 11:55:45 +0300
commit3b4a8ac5cadf6b0c5f6ae6f650da94435aba29c7 (patch)
treebfd15f6646b91a072db12f0aa5d8d257f3138733 /src/gui
parentec5a06754164bb2f77d3627990f896c040fc1c76 (diff)
downloadmanaverse-3b4a8ac5cadf6b0c5f6ae6f650da94435aba29c7.tar.gz
manaverse-3b4a8ac5cadf6b0c5f6ae6f650da94435aba29c7.tar.bz2
manaverse-3b4a8ac5cadf6b0c5f6ae6f650da94435aba29c7.tar.xz
manaverse-3b4a8ac5cadf6b0c5f6ae6f650da94435aba29c7.zip
fix code style.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/tabs/setup_video.cpp4
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)
{