diff options
author | Alexandr Akulich <akulichalexander@gmail.com> | 2016-06-16 10:40:12 +0500 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-10-20 12:33:19 +0000 |
commit | 5a979e2d24b51e931a158062d322d0340e666bff (patch) | |
tree | f61123b92ec5499c759076620db327c3960f7607 /tests/auto/quick/qquickloader/qquickloader.pro | |
parent | e3e890dbb3106c8360d6c4a75b7905b7b1a75f09 (diff) |
QQuickLoader: Use setSize() to resize item
Sequential call of setWidth() and setHeight() results in outdated height on
widthChanged() signal. Use setSize() to set width and height at once.
Change-Id: I86ff5cef2da912a8855c66a614d5d7d2e71f1de8
Reviewed-by: Risto Avila <risto.avila@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickloader/qquickloader.pro')
-rw-r--r-- | tests/auto/quick/qquickloader/qquickloader.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickloader/qquickloader.pro b/tests/auto/quick/qquickloader/qquickloader.pro index 32350388e8..06fb75793d 100644 --- a/tests/auto/quick/qquickloader/qquickloader.pro +++ b/tests/auto/quick/qquickloader/qquickloader.pro @@ -9,6 +9,7 @@ SOURCES += tst_qquickloader.cpp \ ../../shared/testhttpserver.cpp include (../../shared/util.pri) +include (../shared/util.pri) TESTDATA = data/* |