diff options
Diffstat (limited to 'qt-ui/preferences.cpp')
-rw-r--r-- | qt-ui/preferences.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp index 25638c991..c9c44adc7 100644 --- a/qt-ui/preferences.cpp +++ b/qt-ui/preferences.cpp @@ -12,11 +12,8 @@ #include "subsurfacewebservices.h" -#if defined(FBSUPPORT) +#if !defined(Q_OS_ANDROID) && defined(FBSUPPORT) #include "socialnetworks.h" -#endif - -#ifndef Q_OS_ANDROID #include <QWebView> #endif @@ -79,7 +76,7 @@ PreferencesDialog::PreferencesDialog(QWidget *parent, Qt::WindowFlags f) : QDial void PreferencesDialog::facebookLoggedIn() { -#ifndef Q_OS_ANDROID +#if !defined(Q_OS_ANDROID) && defined(FBSUPPORT) // remove the login view and add the disconnect button ui.fbLayout->removeItem(ui.fbLayout->itemAt(1)); ui.fbLayout->insertWidget(1, ui.fbConnected, 0); |