diff options
| author | hjk <hjk@qt.io> | 2023-07-11 12:40:08 +0200 |
|---|---|---|
| committer | hjk <hjk@qt.io> | 2023-07-12 12:12:17 +0000 |
| commit | 14e18fc92fca6074cab15f382b51d996eaa8df6a (patch) | |
| tree | accb4a4752b9b18e91f1ac635adc239fde1c3a33 /src/plugins/autotest/quick/quicktestparser.cpp | |
| parent | 345c946255280946ed09a68b6dffbbce429be31d (diff) | |
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>
Diffstat (limited to 'src/plugins/autotest/quick/quicktestparser.cpp')
| -rw-r--r-- | src/plugins/autotest/quick/quicktestparser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/autotest/quick/quicktestparser.cpp b/src/plugins/autotest/quick/quicktestparser.cpp index 4fa8d4fb81d..64b98e1aa28 100644 --- a/src/plugins/autotest/quick/quicktestparser.cpp +++ b/src/plugins/autotest/quick/quicktestparser.cpp @@ -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); } |
