aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/studiowelcome/studiowelcomeplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/studiowelcome/studiowelcomeplugin.cpp')
-rw-r--r--src/plugins/studiowelcome/studiowelcomeplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/studiowelcome/studiowelcomeplugin.cpp b/src/plugins/studiowelcome/studiowelcomeplugin.cpp
index 5a48bc0148..24b3254d13 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));
});
}