forked from qt-creator/qt-creator
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:
@@ -296,6 +296,8 @@ void JsonSummaryPage::updateProjectData(FolderNode *node)
|
|||||||
|
|
||||||
updateFileList();
|
updateFileList();
|
||||||
setStatusVisible(false);
|
setStatusVisible(false);
|
||||||
|
if (wizardKind(m_wizard) != IWizardFactory::ProjectWizard)
|
||||||
|
return;
|
||||||
if (node && !m_fileList.isEmpty()) {
|
if (node && !m_fileList.isEmpty()) {
|
||||||
const FilePath parentFolder = node->directory();
|
const FilePath parentFolder = node->directory();
|
||||||
const FilePath subProjectFolder = m_fileList.first().file.filePath().parentDir();
|
const FilePath subProjectFolder = m_fileList.first().file.filePath().parentDir();
|
||||||
|
Reference in New Issue
Block a user