Wizards: Suppress warning for non-projects

The warning is explicitly for sub projects.
Kind of amends e30dd3c5ee.

Change-Id: Ic54e5ca8c3505cf113a178b8b4be6da4a4e64ac0
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
Christian Stenger
2024-07-11 15:43:05 +02:00
parent bca0adca30
commit fe4f47c235

View File

@@ -296,6 +296,8 @@ void JsonSummaryPage::updateProjectData(FolderNode *node)
updateFileList();
setStatusVisible(false);
if (wizardKind(m_wizard) != IWizardFactory::ProjectWizard)
return;
if (node && !m_fileList.isEmpty()) {
const FilePath parentFolder = node->directory();
const FilePath subProjectFolder = m_fileList.first().file.filePath().parentDir();