diff options
Diffstat (limited to 'tests/manual/qscreen/propertyfield.h')
-rw-r--r-- | tests/manual/qscreen/propertyfield.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/manual/qscreen/propertyfield.h b/tests/manual/qscreen/propertyfield.h index 91960c892a..62e9f9e99c 100644 --- a/tests/manual/qscreen/propertyfield.h +++ b/tests/manual/qscreen/propertyfield.h @@ -1,12 +1,12 @@ // Copyright (C) 2016 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #ifndef PROPERTYFIELD_H #define PROPERTYFIELD_H #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; }; |