diff options
author | Christian Stenger <[email protected]> | 2015-03-03 15:01:09 +0100 |
---|---|---|
committer | David Schulz <[email protected]> | 2015-03-03 16:03:50 +0200 |
commit | 36a8265549b2cbd6dd9f5b1730137428521595f7 (patch) | |
tree | 2a2082d5841ab5a79d7ded52f2ff8d71147a37b5 | |
parent | 535f1eec182b54011e2b32a625ba048e8e99ec98 (diff) |
Move variable declaration into using blockat-v3.4.0-beta1
Change-Id: Ibf5f5fd825b7beb2bb6b607c8b822b4dfeebfda5
Reviewed-by: David Schulz <[email protected]>
-rw-r--r-- | plugins/autotest/testcodeparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/autotest/testcodeparser.cpp b/plugins/autotest/testcodeparser.cpp index 6b2ff8d4a82..bc28fa07206 100644 --- a/plugins/autotest/testcodeparser.cpp +++ b/plugins/autotest/testcodeparser.cpp @@ -672,11 +672,11 @@ void TestCodeParser::removeTestsIfNecessary(const QString &fileName) emit testItemsRemoved(file, TestTreeModel::QuickTest); } // unnamed Quick Tests must be handled separately - QSet<QString> filePaths; if (fileName.endsWith(QLatin1String(".qml"))) { removeUnnamedQuickTestsByName(fileName); emit unnamedQuickTestsRemoved(fileName); } else { + QSet<QString> filePaths; m_model->qmlFilesForMainFile(fileName, &filePaths); foreach (const QString &file, filePaths) { removeUnnamedQuickTestsByName(file); |