From 9e9cfeeeac3c55d8141ce33cee448723c5c1fca1 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Thu, 1 Dec 2022 16:23:01 +0100 Subject: [PATCH] StudioWelcome: Fix warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id6a218998f2b0a767d4bd23c8936f5863c00d7b1 Reviewed-by: Henning Gründl --- src/plugins/studiowelcome/studiowelcomeplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }); }