diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2012-10-22 17:06:23 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-08 15:01:30 +0100 |
commit | 672e7c875e8680818e23d0aef98129d95eb7e91c (patch) | |
tree | b0322db8df580418c59978f3b9d48f5486a41128 /src/testlib | |
parent | 9be15cc1dc277a2a015b7e00ef88cd25b105c24c (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 <samuel.rodal@digia.com>
Diffstat (limited to 'src/testlib')
-rw-r--r-- | src/testlib/qtestsystem.h | 2 |
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) break; qWait(10); |