From c77cef57063f5ae712777b792c1a1ed046b055b3 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 4 Jul 2019 19:00:20 +0200 Subject: Avoid more deprecation warnings Change-Id: Icc7bb7a4ccf7fc9f89f6f668c194ccd440e5231c Reviewed-by: Christian Stenger --- src/plugins/autotest/testcodeparser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/autotest/testcodeparser.cpp') 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) { -- cgit v1.2.1