diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2014-11-14 09:53:44 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2014-11-20 11:35:16 +0100 |
commit | 3441594636529737c1073923071763fa36ee9d43 (patch) | |
tree | a5179a33ab9eab2d62452a3c052f816abccab81f /src/plugins/welcome/welcomeplugin.cpp | |
parent | 3ec16fe4d89bb8baa027d06de2b13f9a4755567c (diff) |
Theming: Do not use absolute path for built-in themes
+ always set the global palette and base style on apply
This is required for correctly using the selected theme
with multiple installations of Qt Creator.
Task-number: QTCREATORBUG-13203
Task-number: QTCREATORBUG-13396
Change-Id: I036b96721b6d184dae43d08c5e8bc9e6d1328a7b
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/welcome/welcomeplugin.cpp')
-rw-r--r-- | src/plugins/welcome/welcomeplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/welcome/welcomeplugin.cpp b/src/plugins/welcome/welcomeplugin.cpp index c4d64f6d43..0364836925 100644 --- a/src/plugins/welcome/welcomeplugin.cpp +++ b/src/plugins/welcome/welcomeplugin.cpp @@ -258,7 +258,7 @@ void WelcomeMode::initPlugins() ctx->setContextProperty(QLatin1String("pagesModel"), QVariant::fromValue(m_pluginList)); onThemeChanged(); - connect(creatorTheme(), &Theme::changed, this, &WelcomeMode::onThemeChanged); + connect(Core::ICore::instance(), &Core::ICore::themeChanged, this, &WelcomeMode::onThemeChanged); ctx->setContextProperty(QLatin1String("creatorTheme"), &m_themeProperties); QString path = resourcePath() + QLatin1String("/welcomescreen/welcomescreen.qml"); |