diff options
author | jan Iversen <jani@apache.org> | 2018-09-12 13:50:24 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-12 20:18:32 -0700 |
commit | c9122283cc652b953cbfc2cdea47902b9f20eea2 (patch) | |
tree | c05affb25e66ab431c472e49cbdf5f285b8e8dbe /mobile-widgets/qmlprefs.h | |
parent | 51bc41b5179ff12bf2767cd568dbf8266b72ca7e (diff) | |
download | subsurface-c9122283cc652b953cbfc2cdea47902b9f20eea2.tar.gz |
mobile-widgets: replace qmlprefs::theme with qPrefDisplay::theme
Shortcut and use qPrefDisplay::theme() direct
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'mobile-widgets/qmlprefs.h')
-rw-r--r-- | mobile-widgets/qmlprefs.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mobile-widgets/qmlprefs.h b/mobile-widgets/qmlprefs.h index f1d6dea50..99819fd7c 100644 --- a/mobile-widgets/qmlprefs.h +++ b/mobile-widgets/qmlprefs.h @@ -33,10 +33,6 @@ class QMLPrefs : public QObject { MEMBER m_oldStatus WRITE setOldStatus NOTIFY oldStatusChanged) - Q_PROPERTY(QString theme - READ theme - WRITE setTheme - NOTIFY themeChanged) public: QMLPrefs(); ~QMLPrefs(); @@ -61,9 +57,6 @@ public: bool showPin() const; void setShowPin(bool enable); - const QString theme() const; - void setTheme(QString theme); - public slots: void cancelCredentialsPinSetup(); void clearCredentials(); @@ -84,7 +77,6 @@ signals: void credentialStatusChanged(); void oldStatusChanged(); void showPinChanged(); - void themeChanged(); }; #endif |