From 0e379703bc762e4a09120caf7a967afebf8ea873 Mon Sep 17 00:00:00 2001 From: Maciej Kisielewski Date: Thu, 18 Dec 2014 14:11:44 +0100 Subject: providers/plainbox-provider-checkbox: make resolution_test.qml timeout itself This patch makes resolution_test.qml quit itself after 5 seconds. This makes use of timeout command unnecessary. Fixes: https://bugs.launchpad.net/plainbox-provider-checkbox/+bug/1386093 Signed-off-by: Maciej Kisielewski --- data/resolution_test.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data/resolution_test.qml b/data/resolution_test.qml index b718bd0..cb4b0b5 100644 --- a/data/resolution_test.qml +++ b/data/resolution_test.qml @@ -4,6 +4,7 @@ * Copyright 2013 Canonical Ltd. * Written by: * Sylvain Pineau + * Maciej Kisielewski * * Checkbox is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3, @@ -33,5 +34,10 @@ Rectangle { color: "lime" smooth: true } + Timer { + interval: 5000 + running: true + onTriggered: Qt.quit() + } } -- cgit v1.2.3