diff options
Diffstat (limited to 'tests/manual/qscreen')
-rw-r--r-- | tests/manual/qscreen/propertywatcher.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/manual/qscreen/propertywatcher.cpp b/tests/manual/qscreen/propertywatcher.cpp index cfb5ea272d..19668a8d26 100644 --- a/tests/manual/qscreen/propertywatcher.cpp +++ b/tests/manual/qscreen/propertywatcher.cpp @@ -50,6 +50,8 @@ PropertyWatcher::PropertyWatcher(QObject *subject, QString annotation, QWidget * if (prop.isReadable()) { PropertyField* field = new PropertyField(m_subject, prop); m_layout->addRow(prop.name(), field); + if (!qstrcmp(prop.name(), "name")) + setWindowIconText(prop.read(subject).toString()); } } QPushButton *updateButton = new QPushButton("update"); |