summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlprefs.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-09-12 13:50:24 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-12 20:18:32 -0700
commitc9122283cc652b953cbfc2cdea47902b9f20eea2 (patch)
treec05affb25e66ab431c472e49cbdf5f285b8e8dbe /mobile-widgets/qmlprefs.cpp
parent51bc41b5179ff12bf2767cd568dbf8266b72ca7e (diff)
downloadsubsurface-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.cpp')
-rw-r--r--mobile-widgets/qmlprefs.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/mobile-widgets/qmlprefs.cpp b/mobile-widgets/qmlprefs.cpp
index 3d5a10f4e..1f30f7a7e 100644
--- a/mobile-widgets/qmlprefs.cpp
+++ b/mobile-widgets/qmlprefs.cpp
@@ -108,19 +108,6 @@ void QMLPrefs::setShowPin(bool enable)
emit showPinChanged();
}
-const QString QMLPrefs::theme() const
-{
- return qPrefDisplay::theme();
-}
-
-void QMLPrefs::setTheme(QString theme)
-{
- qPrefDisplay::set_theme(theme);
- emit themeChanged();
-}
-
-
-
/*** public slot functions ***/
void QMLPrefs::cancelCredentialsPinSetup()
{