mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
38120d555f
commit
35de9c49a4
5 changed files with 8 additions and 32 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue