StudioWelcome: Fix warning

Change-Id: Id6a218998f2b0a767d4bd23c8936f5863c00d7b1
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
Thomas Hartmann
2022-12-01 16:23:01 +01:00
parent 17c09c1e92
commit 9e9cfeeeac

View File

@@ -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));
});
}