Skip to content
Snippets Groups Projects
Commit 36a82655 authored by Christian Stenger's avatar Christian Stenger Committed by David Schulz
Browse files

Move variable declaration into using block


Change-Id: Ibf5f5fd825b7beb2bb6b607c8b822b4dfeebfda5
Reviewed-by: default avatarDavid Schulz <david.schulz@theqtcompany.com>
parent 535f1eec
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment