forked from qt-creator/qt-creator
AutoTest: Merge settings and tools hierarchies [1/2]
Currently living in the settings files to keep changes small, will be renamed in a second step. This allows the settings aspects to be used in their short form and overall removes some indirections. Change-Id: I099369b62239aed8192613a04bca958a660c36c7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -356,8 +356,8 @@ void QuickTestParser::init(const QSet<FilePath> &filesToParse, bool fullParse)
|
||||
m_mainCppFiles.clear();
|
||||
}
|
||||
|
||||
auto qtSettings = static_cast<QtTestSettings *>(framework()->testSettings());
|
||||
m_checkForDerivedTests = qtSettings->quickCheckForDerivedTests.value();
|
||||
QtTestFramework &qtSettings = *static_cast<QtTestFramework *>(framework());
|
||||
m_checkForDerivedTests = qtSettings.quickCheckForDerivedTests();
|
||||
|
||||
CppParser::init(filesToParse, fullParse);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user