Commit f67d8ef1 authored by Adriaan de Groot's avatar Adriaan de Groot

[3rdparty] Chase API deprecation in Qt

- QElapsedTimer has existed since Qt 4.7
parent 4c0a212b
......@@ -17,6 +17,7 @@
#include <QSharedMemory>
#include <QSharedData>
#include <QBasicTimer>
#include <QElapsedTimer>
#include <QTime>
#include <algorithm>
......@@ -764,7 +765,7 @@ void KDSingleApplicationGuard::Private::create( const QStringList & arguments )
}
const int maxWaitMSecs = 1000 * 60; // stop waiting after 60 seconds
QTime waitTimer;
QElapsedTimer waitTimer;
waitTimer.start();
// lets wait till the other instance initialized the register
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment