summaryrefslogtreecommitdiff
path: root/src/plugins/autotest/testcodeparser.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-07-04 19:00:20 +0200
committerhjk <hjk@qt.io>2019-07-05 07:49:48 +0000
commitc77cef57063f5ae712777b792c1a1ed046b055b3 (patch)
tree92e117002ba9e2a0bf89ff494fca51d4428525a3 /src/plugins/autotest/testcodeparser.cpp
parent6e4d0a70e9cd28639aecb69f4bb025af3633bec4 (diff)
downloadqt-creator-c77cef57063f5ae712777b792c1a1ed046b055b3.tar.gz
Avoid more deprecation warnings
Change-Id: Icc7bb7a4ccf7fc9f89f6f668c194ccd440e5231c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/autotest/testcodeparser.cpp')
-rw-r--r--src/plugins/autotest/testcodeparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/autotest/testcodeparser.cpp b/src/plugins/autotest/testcodeparser.cpp
index c944073dc7..9b8942b76b 100644
--- a/src/plugins/autotest/testcodeparser.cpp
+++ b/src/plugins/autotest/testcodeparser.cpp
@@ -110,7 +110,7 @@ void TestCodeParser::setState(State state)
m_partialUpdatePostponed = false;
qCDebug(LOG) << "calling scanForTests with postponed files (setState)";
if (!m_reparseTimer.isActive())
- scanForTests(m_postponedFiles.toList());
+ scanForTests(Utils::toList(m_postponedFiles));
}
}
}
@@ -469,7 +469,7 @@ void TestCodeParser::onPartialParsingFinished()
m_partialUpdatePostponed = false;
qCDebug(LOG) << "calling scanForTests with postponed files (onPartialParsingFinished)";
if (!m_reparseTimer.isActive())
- scanForTests(m_postponedFiles.toList());
+ scanForTests(Utils::toList(m_postponedFiles));
} else {
m_dirty |= m_codeModelParsing;
if (m_dirty) {