@@ -14,6 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17import QtTest 1.0
18import QtTest 1.0
18import Ubuntu.Components 0.1
19import Ubuntu.Components 0.1
19import Unity.Test 0.1 as UT
20import Unity.Test 0.1 as UT
@@ -298,6 +299,14 @@ TestCase {
298 event.commit()
299 event.commit()
302+ Component.onCompleted: {
303+ var rootItem = parent;
304+ while (rootItem.parent != undefined) {
305+ rootItem = rootItem.parent;
307+ removeTimeConstraintsFromDirectionalDragAreas(rootItem);
302 In qmltests, sequences of touch events are sent all at once, unlike in "real life".
311 In qmltests, sequences of touch events are sent all at once, unlike in "real life".
303 Also qmltests might run really slowly, e.g. when run from inside virtual machines.
312 Also qmltests might run really slowly, e.g. when run from inside virtual machines.