forked from qt-creator/qt-creator
StudioWelcome: Fix warning
Change-Id: Id6a218998f2b0a767d4bd23c8936f5863c00d7b1 Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
@@ -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));
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user