mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
a0c52237ea
commit
25fc828458
3 changed files with 79 additions and 60 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue