diff options
Diffstat (limited to 'tests/manual/qscreen/propertyfield.cpp')
-rw-r--r-- | tests/manual/qscreen/propertyfield.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/manual/qscreen/propertyfield.cpp b/tests/manual/qscreen/propertyfield.cpp index 7ed2759634..1a637e302f 100644 --- a/tests/manual/qscreen/propertyfield.cpp +++ b/tests/manual/qscreen/propertyfield.cpp @@ -1,11 +1,11 @@ // 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 #include "propertyfield.h" #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; |