Avoid more deprecation warnings

Change-Id: Icc7bb7a4ccf7fc9f89f6f668c194ccd440e5231c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2019-07-04 19:00:20 +02:00
parent 6e4d0a70e9
commit c77cef5706
8 changed files with 13 additions and 12 deletions

View File

@@ -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) {