diff options
author | Alessandro Portale <alessandro.portale@nokia.com> | 2012-01-17 11:11:12 +0100 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2012-01-17 11:18:35 +0100 |
commit | fe068869b946660f57ff01b19fa733c2c36a899a (patch) | |
tree | 02ffb94da2791d7e3f4f3ba294ec18013cdbedb4 /src/plugins/welcome | |
parent | fc2d8deae3d2eb3386e29a9f27951f864517910e (diff) | |
download | qt-creator-fe068869b946660f57ff01b19fa733c2c36a899a.tar.gz |
Workaround QtDeclarative crash QTBUG-23445
Just hardcode the initial WelcomeTab to 1
Task-Number: QTCREATORBUG-6803
Change-Id: I735d18dd3abb55468b1afdae9785f74a4b522345
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Diffstat (limited to 'src/plugins/welcome')
-rw-r--r-- | src/plugins/welcome/welcomeplugin.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/welcome/welcomeplugin.cpp b/src/plugins/welcome/welcomeplugin.cpp index f2221b27ca..529dae017c 100644 --- a/src/plugins/welcome/welcomeplugin.cpp +++ b/src/plugins/welcome/welcomeplugin.cpp @@ -215,6 +215,9 @@ void WelcomeMode::initPlugins() QSettings *settings = Core::ICore::instance()->settings(); setActivePlugin(settings->value(QLatin1String(currentPageSettingsKeyC)).toInt()); + // TODO: re-enable reading from Settings when possible. See QTCREATORBUG-6803 + setActivePlugin(1); + QDeclarativeContext *ctx = m_welcomePage->rootContext(); ctx->setContextProperty(QLatin1String("welcomeMode"), this); |