summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qhostinfo_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/kernel/qhostinfo_p.h')
-rw-r--r--src/network/kernel/qhostinfo_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/kernel/qhostinfo_p.h b/src/network/kernel/qhostinfo_p.h
index 134335f..80d8e14 100644
--- a/src/network/kernel/qhostinfo_p.h
+++ b/src/network/kernel/qhostinfo_p.h
@@ -66,7 +66,7 @@
#include "QtCore/qrunnable.h"
#include "QtCore/qlist.h"
#include "QtCore/qqueue.h"
-#include <QTime>
+#include <QElapsedTimer>
#include <QCache>
@@ -132,7 +132,7 @@ private:
bool enabled;
struct QHostInfoCacheElement {
QHostInfo info;
- QTime age;
+ QElapsedTimer age;
};
QCache<QString,QHostInfoCacheElement> cache;
QMutex mutex;