summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/themeinterface.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-15 09:40:54 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-03 17:30:35 -0800
commit35de9c49a4f2c2ab5abc3f52e8d005c0d1225971 (patch)
tree75190bcbf37239cfabfa1e47a40fc6e94c28d8cd /mobile-widgets/themeinterface.cpp
parent38120d555f45fb36c3d7de5b429f8a5e00ffa1e7 (diff)
downloadsubsurface-35de9c49a4f2c2ab5abc3f52e8d005c0d1225971.tar.gz
mobile-widgets: switch to new subsurfaceTheme
Remove subsurfaceTheme from main.qml Replace ThemeNew -> subsurfaceTheme change registration ThemeNew -> subsurfaceTheme Signed-off-by: jan Iversen <jan@casacondor.com>
Diffstat (limited to 'mobile-widgets/themeinterface.cpp')
-rw-r--r--mobile-widgets/themeinterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/themeinterface.cpp b/mobile-widgets/themeinterface.cpp
index d7c9e4456..e6254c6de 100644
--- a/mobile-widgets/themeinterface.cpp
+++ b/mobile-widgets/themeinterface.cpp
@@ -74,7 +74,7 @@ themeInterface *themeInterface::instance()
void themeInterface::setup(QQmlContext *ct)
{
// Register interface class
- ct->setContextProperty("ThemeNew", instance());
+ ct->setContextProperty("subsurfaceTheme", instance());
// get current theme
m_currentTheme = qPrefDisplay::theme();