aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangcodemodel
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-07-05 13:43:54 +0200
committerhjk <hjk@qt.io>2019-07-05 12:51:17 +0000
commit9ae2794114b73f7260730166461ee76b44c9fca6 (patch)
tree94f8f35ff6343486378144be02fc243ceea8bd7d /src/plugins/clangcodemodel
parent1d010e2686db6d553623b16c45013e14dd2a6541 (diff)
Remove more deprecation warnings
Change-Id: Ie50e41737a4bf7bea41f550df7cc765267e8a144 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/clangcodemodel')
-rw-r--r--src/plugins/clangcodemodel/test/clangbatchfileprocessor.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/clangcodemodel/test/clangbatchfileprocessor.cpp b/src/plugins/clangcodemodel/test/clangbatchfileprocessor.cpp
index 79cc8ff81a..c3ca95c6a0 100644
--- a/src/plugins/clangcodemodel/test/clangbatchfileprocessor.cpp
+++ b/src/plugins/clangcodemodel/test/clangbatchfileprocessor.cpp
@@ -50,6 +50,7 @@
#include <utils/qtcassert.h>
#include <QDebug>
+#include <QElapsedTimer>
#include <QFileInfo>
#include <QLoggingCategory>
#include <QSharedPointer>
@@ -302,7 +303,7 @@ WaitForUpdatedCodeWarnings::WaitForUpdatedCodeWarnings(ClangEditorDocumentProces
bool WaitForUpdatedCodeWarnings::wait(int timeOutInMs) const
{
- QTime time;
+ QElapsedTimer time;
time.start();
forever {
@@ -580,7 +581,7 @@ bool ProcessEventsCommand::run()
{
qCDebug(debug) << "line" << context().lineNumber << "ProcessEventsCommand" << m_durationInMs;
- QTime time;
+ QElapsedTimer time;
time.start();
forever {