From a03c0547ee28ae0968855a1617384998086c7dc3 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Tue, 8 Nov 2016 13:10:17 +0100 Subject: 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 --- tests/auto/controls/data/tst_swipedelegate.qml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3