summaryrefslogtreecommitdiffstats
path: root/tests/manual/qscreen/propertyfield.h
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2015-01-09 15:12:19 +0100
committerShawn Rutledge <shawn.rutledge@digia.com>2015-01-09 16:21:04 +0100
commite0981a0d9e0330fe3a1c4f310e7c9877c341ba5d (patch)
tree5e803d8e16949f471c2c209f4e6ce09b2749320d /tests/manual/qscreen/propertyfield.h
parent2153ac61c921c8da3852ff018eec2279ee7d06f7 (diff)
QScreen manual test: use sizeHint; don't override QLineEdit text color
The window size was too small on high-DPI screens. Save the default text color instead of setting it to black. Change-Id: I78b50624110be0cb1d077d3782d421eb323f4fb0 Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'tests/manual/qscreen/propertyfield.h')
-rw-r--r--tests/manual/qscreen/propertyfield.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/manual/qscreen/propertyfield.h b/tests/manual/qscreen/propertyfield.h
index 2738a215a6..f76ac7fc6b 100644
--- a/tests/manual/qscreen/propertyfield.h
+++ b/tests/manual/qscreen/propertyfield.h
@@ -63,6 +63,7 @@ private:
QString m_lastTextShowing;
QTime m_lastChangeTime;
const QMetaProperty m_prop;
+ QBrush m_defaultBrush;
};
#endif // PROPERTYFIELD_H