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>
This commit is contained in:
jan Iversen 2020-01-15 09:40:54 +01:00 committed by Dirk Hohndel
parent 38120d555f
commit 35de9c49a4
5 changed files with 8 additions and 32 deletions

View file

@ -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();