From 3b4a8ac5cadf6b0c5f6ae6f650da94435aba29c7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 1 Feb 2014 11:55:45 +0300 Subject: fix code style. --- src/gui/widgets/tabs/setup_video.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui') 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) { -- cgit v1.2.3-70-g09d2