forked from qt-creator/qt-creator
CMake: Simplify
Change-Id: I3e5fd3aebf8b11037d99ff367826ff8f8f436045 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -150,7 +150,6 @@ void CMakeBuildSystem::handleTreeScanningFinished()
|
|||||||
qDeleteAll(m_allFiles);
|
qDeleteAll(m_allFiles);
|
||||||
m_allFiles = Utils::transform(m_treeScanner.release(), [](const FileNode *fn) { return fn; });
|
m_allFiles = Utils::transform(m_treeScanner.release(), [](const FileNode *fn) { return fn; });
|
||||||
|
|
||||||
m_combinedScanAndParseResult = m_combinedScanAndParseResult && true;
|
|
||||||
m_waitingForScan = false;
|
m_waitingForScan = false;
|
||||||
|
|
||||||
combineScanAndParse();
|
combineScanAndParse();
|
||||||
@@ -164,7 +163,6 @@ void CMakeBuildSystem::handleParsingSuccess(CMakeBuildConfiguration *bc)
|
|||||||
QTC_ASSERT(m_waitingForParse, return );
|
QTC_ASSERT(m_waitingForParse, return );
|
||||||
|
|
||||||
m_waitingForParse = false;
|
m_waitingForParse = false;
|
||||||
m_combinedScanAndParseResult = m_combinedScanAndParseResult && true;
|
|
||||||
|
|
||||||
combineScanAndParse();
|
combineScanAndParse();
|
||||||
}
|
}
|
||||||
|
@@ -88,7 +88,7 @@ void noAutoAdditionNotify(const QStringList &filePaths, const ProjectExplorer::P
|
|||||||
"\nCopy the path to the source files to the clipboard?"),
|
"\nCopy the path to the source files to the clipboard?"),
|
||||||
"Remember My Choice", &checkValue, QDialogButtonBox::Yes | QDialogButtonBox::No,
|
"Remember My Choice", &checkValue, QDialogButtonBox::Yes | QDialogButtonBox::No,
|
||||||
QDialogButtonBox::Yes);
|
QDialogButtonBox::Yes);
|
||||||
if (true == checkValue) {
|
if (checkValue) {
|
||||||
if (QDialogButtonBox::Yes == reply)
|
if (QDialogButtonBox::Yes == reply)
|
||||||
settings->setAfterAddFileSetting(AfterAddFileAction::COPY_FILE_PATH);
|
settings->setAfterAddFileSetting(AfterAddFileAction::COPY_FILE_PATH);
|
||||||
else if (QDialogButtonBox::No == reply)
|
else if (QDialogButtonBox::No == reply)
|
||||||
|
Reference in New Issue
Block a user