diff options
| author | Zygmunt Krynicki <zygmunt.krynicki@canonical.com> | 2014-04-07 18:49:50 +0200 |
|---|---|---|
| committer | Zygmunt Krynicki <zygmunt.krynicki@canonical.com> | 2014-04-07 18:49:50 +0200 |
| commit | 5d35acf20a0438118fae10c9b1e7fda0694657c1 (patch) | |
| tree | 019a51081b3cd826d339c4969c4799444ab53868 /bin | |
| parent | 8fb4d9726afba0205e21620a7cd8de56244a72ff (diff) | |
providers:checkbox: fix graphics/screen-resolution
This job was accessing $CHECKBOX_SHARE/scripts/resolution_test.qml. The qml file was not executable and thus would not be installed or discovered as an executable. This patch moves the qml file to the data/ directory and updates the job to refer to it with $PLAINBOX_PROVIDER_DATA/ Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/resolution_test.qml | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/bin/resolution_test.qml b/bin/resolution_test.qml deleted file mode 100644 index b718bd0..0000000 --- a/bin/resolution_test.qml +++ /dev/null @@ -1,37 +0,0 @@ -/* - * This file is part of Checkbox. - * - * Copyright 2013 Canonical Ltd. - * Written by: - * Sylvain Pineau <sylvain.pineau@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, - * as published by the Free Software Foundation. - * - * Checkbox is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Checkbox. If not, see <http://www.gnu.org/licenses/>. - */ - -import QtQuick 2.0 -import QtQuick.Window 2.0 - -Rectangle { - border.color: "lime" - border.width: 15 - color: "transparent" - Text { - anchors.centerIn: parent - text: Screen.width + " x " + Screen.height - font.bold: true - font.pointSize: 80 - color: "lime" - smooth: true - } -} - |
