path: root/src/testlib/qtestsystem.h
diff options
authorShawn Rutledge <>2012-10-22 17:06:23 +0200
committerThe Qt Project <>2012-11-08 15:01:30 +0100
commit672e7c875e8680818e23d0aef98129d95eb7e91c (patch)
treeb0322db8df580418c59978f3b9d48f5486a41128 /src/testlib/qtestsystem.h
parent9be15cc1dc277a2a015b7e00ef88cd25b105c24c (diff)
Remove QWindow pos, geometry and size as properties; pos->position
Abbreviated properties are to be avoided. But all 3 of these properties are redundant from the QML perspective; and because QRect, QPoint and QSize are (wisely) not QObjects, it's not possible to bind to _their_ properties, which make these QWindow properties less useful than users might assume that they are. Change-Id: I19c00b54b1d2712f9418e8bcf56e35a8008b89ef Reviewed-by: Samuel Rødal <>
Diffstat (limited to 'src/testlib/qtestsystem.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtestsystem.h b/src/testlib/qtestsystem.h
index 094570bb8c..dd60aae148 100644
--- a/src/testlib/qtestsystem.h
+++ b/src/testlib/qtestsystem.h
@@ -92,7 +92,7 @@ namespace QTest
// qWaitForWindowShown() will generate bogus results.
if (window->isActive()) {
int waitNo = 0; // 0, 0 might be a valid position after all, so do not wait for ever
- while (window->pos().isNull()) {
+ while (window->position().isNull()) {
if (waitNo++ > timeout / 10)