From 1bf1dd8e69d3549b684bd0cb6f367009f2a54b8a Mon Sep 17 00:00:00 2001 From: Tomi Korpipaa Date: Fri, 16 Nov 2018 09:46:08 +0200 Subject: Fix opening SampleProject from welcome screen Task-number: QT3DS-2683 Change-Id: Ib0494340550eeb3974be5880615eb791868be35d Reviewed-by: Janne Kangas Reviewed-by: Mahmoud Badri Reviewed-by: Miikka Heikkinen --- src/Authoring/Studio/Application/StudioApp.cpp | 4 ++-- 1 file 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()) { -- cgit v1.2.3