summaryrefslogtreecommitdiffstats
path: root/qt-ui/preferences.h
diff options
context:
space:
mode:
authorGravatar Joseph W. Joshua <joejoshw@gmail.com>2015-01-13 21:39:05 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-14 07:49:24 +1300
commit25fc8284581e3284cd3601464746c7cd8e5212af (patch)
treed18e433f65b8225152ee0e8e85f01a9d6bc6ee99 /qt-ui/preferences.h
parenta0c52237ea60d119ae486c94584de1a24210b7de (diff)
downloadsubsurface-25fc8284581e3284cd3601464746c7cd8e5212af.tar.gz
Ignore QWebView in Android
Ignore QWebView instances in the preferences dialog when compiling under Android, as QWebView is not yet supported under Android. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.h')
-rw-r--r--qt-ui/preferences.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/qt-ui/preferences.h b/qt-ui/preferences.h
index 72c379181..842597732 100644
--- a/qt-ui/preferences.h
+++ b/qt-ui/preferences.h
@@ -6,6 +6,10 @@
#include "ui_preferences.h"
+#ifndef Q_OS_ANDROID
+ class QWebView;
+#endif
+
class QAbstractButton;
class PreferencesDialog : public QDialog {
@@ -37,6 +41,9 @@ private:
void setUiFromPrefs();
Ui::PreferencesDialog ui;
struct preferences oldPrefs;
+ #ifndef Q_OS_ANDROID
+ QWebView *facebookWebView;
+ #endif
};
#endif // PREFERENCES_H