StudioWelcome: Fix studio welcome plugin crash

crash introduced by ea8400a9ff

Change-Id: I7302e71076634caaf68dd52cf61451110629ce0d
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
Mahmoud Badri
2021-10-15 16:49:12 +03:00
parent 5f1e6b15bf
commit a746510937

View File

@@ -340,6 +340,7 @@ bool StudioWelcomePlugin::initialize(const QStringList &arguments, QString *erro
qmlRegisterType<ProjectModel>("projectmodel", 1, 0, "ProjectModel"); qmlRegisterType<ProjectModel>("projectmodel", 1, 0, "ProjectModel");
qmlRegisterType<UsageStatisticPluginModel>("usagestatistics", 1, 0, "UsageStatisticModel"); qmlRegisterType<UsageStatisticPluginModel>("usagestatistics", 1, 0, "UsageStatisticModel");
m_welcomeMode = new WelcomeMode;
m_removeSplashTimer.setSingleShot(true); m_removeSplashTimer.setSingleShot(true);
m_removeSplashTimer.setInterval(15000); m_removeSplashTimer.setInterval(15000);