diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-11-08 13:10:17 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-11-08 13:13:52 +0000 |
commit | a03c0547ee28ae0968855a1617384998086c7dc3 (patch) | |
tree | 6b540f97d9d9a06c7d219dfd95c12606db21dbd7 /tests | |
parent | 3f646aca34c25f7cc36df2f988790bb238026422 (diff) |
tst_swipedelegate: kill the unnecessary dependency to QtQuick.Layouts
This fixes tst_swipedelegate to pass in static Qt builds.
Change-Id: I5377e607c719650abdb256295a3076b1caf4fff5
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/controls/data/tst_swipedelegate.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/controls/data/tst_swipedelegate.qml b/tests/auto/controls/data/tst_swipedelegate.qml index bcf25f28..fa2d218f 100644 --- a/tests/auto/controls/data/tst_swipedelegate.qml +++ b/tests/auto/controls/data/tst_swipedelegate.qml @@ -40,9 +40,9 @@ import QtQuick 2.6 import QtTest 1.0 -import QtQuick.Layouts 1.1 import QtQuick.Controls 2.1 + TestCase { id: testCase width: 200 @@ -1094,22 +1094,22 @@ TestCase { property int firstClickCount: 0 property int secondClickCount: 0 - RowLayout { + Row { anchors.fill: parent anchors.margins: 5 Rectangle { id: firstAction - Layout.fillWidth: true - Layout.fillHeight: true + width: parent.width / 2 + height: parent.height color: "tomato" SwipeDelegate.onClicked: ++firstClickCount } Rectangle { id: secondAction - Layout.fillWidth: true - Layout.fillHeight: true + width: parent.width / 2 + height: parent.height color: "navajowhite" SwipeDelegate.onClicked: ++secondClickCount |