Skip to content
Snippets Groups Projects
Commit fe068869 authored by Alessandro Portale's avatar Alessandro Portale Committed by Thomas Hartmann
Browse files

Workaround QtDeclarative crash QTBUG-23445


Just hardcode the initial WelcomeTab to 1

Task-Number: QTCREATORBUG-6803

Change-Id: I735d18dd3abb55468b1afdae9785f74a4b522345
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent fc2d8dea
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment