mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile-widgets: replace qmlprefs::theme with qPrefDisplay::theme
Shortcut and use qPrefDisplay::theme() direct Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
51bc41b517
commit
c9122283cc
4 changed files with 4 additions and 28 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue