aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2022-12-01 16:23:01 +0100
committerThomas Hartmann <thomas.hartmann@qt.io>2022-12-01 16:05:47 +0000
commit9e9cfeeeac3c55d8141ce33cee448723c5c1fca1 (patch)
tree69b76af67e28710a4e0c3fd2b6ded34646a8ea82
parent17c09c1e92e51e9831902878d1a94807da88fb4f (diff)
StudioWelcome: Fix warning
Change-Id: Id6a218998f2b0a767d4bd23c8936f5863c00d7b1 Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
-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));
});
}