summaryrefslogtreecommitdiffstats
path: root/tests/manual/qscreen/propertyfield.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/qscreen/propertyfield.h')
-rw-r--r--tests/manual/qscreen/propertyfield.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/qscreen/propertyfield.h b/tests/manual/qscreen/propertyfield.h
index 91960c892a..b5ff55947e 100644
--- a/tests/manual/qscreen/propertyfield.h
+++ b/tests/manual/qscreen/propertyfield.h
@@ -6,7 +6,7 @@
#include <QLineEdit>
#include <QMetaProperty>
-#include <QTime>
+#include <QElapsedTimer>
/*!
A QLineEdit for viewing the text form of a property on an object.
@@ -31,7 +31,7 @@ private:
QObject* m_subject;
QString m_lastText;
QString m_lastTextShowing;
- QTime m_lastChangeTime;
+ QElapsedTimer m_lastChangeTime;
const QMetaProperty m_prop;
QBrush m_defaultBrush;
};