diff options
author | Maciej Kisielewski <maciej.kisielewski@canonical.com> | 2014-12-18 14:11:44 +0100 |
---|---|---|
committer | Maciej Kisielewski <maciej.kisielewski@canonical.com> | 2014-12-18 14:11:44 +0100 |
commit | 0e379703bc762e4a09120caf7a967afebf8ea873 (patch) | |
tree | 98aeb00dd0ef1926cb94c0cf6619ac87dbcfa2f3 | |
parent | 55988e8b4fe212dcb0ef4e6c5b11af706d1c583e (diff) |
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 <maciej.kisielewski@canonical.com>
-rw-r--r-- | data/resolution_test.qml | 6 |
1 files changed, 6 insertions, 0 deletions
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 <sylvain.pineau@canonical.com> + * Maciej Kisielewski <maciej.kisielewski@canonical.com> * * 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() + } } |