diff options
Diffstat (limited to 'tests/manual/qscreen/propertyfield.cpp')
-rw-r--r-- | tests/manual/qscreen/propertyfield.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/manual/qscreen/propertyfield.cpp b/tests/manual/qscreen/propertyfield.cpp index 7ed2759634..a184ea3785 100644 --- a/tests/manual/qscreen/propertyfield.cpp +++ b/tests/manual/qscreen/propertyfield.cpp @@ -5,7 +5,7 @@ #include <QDebug> PropertyField::PropertyField(QObject* subject, const QMetaProperty& prop, QWidget *parent) - : QLineEdit(parent), m_subject(subject), m_lastChangeTime(QTime::currentTime()), m_prop(prop) + : QLineEdit(parent), m_subject(subject), m_lastChangeTime(), m_prop(prop) , m_defaultBrush(palette().brush(QPalette::Active, QPalette::Text)) { setReadOnly(true); @@ -57,7 +57,6 @@ void PropertyField::propertyChanged() if (m_lastText.isEmpty()) { m_lastText = text; m_lastTextShowing = text; - m_lastChangeTime = QTime::currentTime().addSecs(-5); } qDebug() << " " << QString::fromUtf8(m_prop.name()) << ':' << val; |