summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Korpipaa <tomi.korpipaa@qt.io>2018-11-16 09:46:08 +0200
committerTomi Korpipää <tomi.korpipaa@qt.io>2018-11-16 09:33:46 +0000
commit1bf1dd8e69d3549b684bd0cb6f367009f2a54b8a (patch)
tree3de9bc555a1b2083cb165b0722fe05f92f4fa76a
parent6aab79a52977a359b49b969ca874751f161127ab (diff)
Fix opening SampleProject from welcome screen
Task-number: QT3DS-2683 Change-Id: Ib0494340550eeb3974be5880615eb791868be35d Reviewed-by: Janne Kangas <janne.kangas@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
-rw-r--r--src/Authoring/Studio/Application/StudioApp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Authoring/Studio/Application/StudioApp.cpp b/src/Authoring/Studio/Application/StudioApp.cpp
index a9da142b..a662cc03 100644
--- a/src/Authoring/Studio/Application/StudioApp.cpp
+++ b/src/Authoring/Studio/Application/StudioApp.cpp
@@ -438,7 +438,7 @@ bool CStudioApp::handleWelcomeRes(int res, bool recursive)
case StudioTutorialWidget::openSampleResult: {
if (PerformSavePrompt()) {
// Try three options:
- // - open a specific example .uip
+ // - open a specific example .uia
// - failing that, show the main example root dir
// - failing all previous, show default Documents dir
QFileInfo filePath;
@@ -465,7 +465,7 @@ bool CStudioApp::handleWelcomeRes(int res, bool recursive)
}
theFile = m_dialogs->GetFileOpenChoice(filePath.absoluteFilePath());
} else {
- theFile = filePath.absoluteFilePath() + QStringLiteral("/SampleProject.uip");
+ theFile = filePath.absoluteFilePath() + QStringLiteral("/SampleProject.uia");
}
if (!theFile.isEmpty()) {