changeset 61:ef64b3f171d9

Avoid deprecated API
author Chris Cannam
date Tue, 07 Jan 2020 11:20:32 +0000
parents 87908a5d6c88
children e027aa280789
files src/plugincandidates.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugincandidates.cpp	Thu Dec 12 17:25:09 2019 +0000
+++ b/src/plugincandidates.cpp	Tue Jan 07 11:20:32 2020 +0000
@@ -37,7 +37,7 @@
 
 #include <QProcess>
 #include <QDir>
-#include <QTime>
+#include <QElapsedTimer>
 
 #if defined(_WIN32)
 #define PLUGIN_GLOB "*.dll"
@@ -231,7 +231,7 @@
         process.write("\n", 1);
     }
 
-    QTime t;
+    QElapsedTimer t;
     t.start();
     int timeout = 15000; // ms