diff --git a/src/plugins/studiowelcome/studiowelcomeplugin.cpp b/src/plugins/studiowelcome/studiowelcomeplugin.cpp index 5a48bc0148e..24b3254d136 100644 --- a/src/plugins/studiowelcome/studiowelcomeplugin.cpp +++ b/src/plugins/studiowelcome/studiowelcomeplugin.cpp @@ -254,7 +254,7 @@ public: const QString qmlFile = QFileInfo(projectFile).dir().absolutePath() + "/" + formFile; // This timer should be replaced with a signal send from project loading - QTimer::singleShot(1000, [qmlFile](){ + QTimer::singleShot(1000, this, [qmlFile]() { Core::EditorManager::openEditor(Utils::FilePath::fromString(qmlFile)); }); }