summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-09-16 13:27:27 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-09-16 08:35:29 -0700
commit5eeefbff8bee425a96ddcb506b29df200d72a8d5 (patch)
tree0f6a840c21f1e4af569e32aeccbb9c63f03b85d4 /mobile-widgets
parent5e1ad4948e9d4a44c0587511ecedd7856ac5a32e (diff)
downloadsubsurface-5eeefbff8bee425a96ddcb506b29df200d72a8d5.tar.gz
mapwidgetcontextmenu: use a QtQuick 2.0 import
Following on beb0d5703a0e, the context menu seems to work fine with a much older QtQuick import - version 2.0. The 2.7 import is technically a development leftover and a minimal version should have been considered earlier. On older Qt setups (e.g. 5.5.x) this might throw a: 'module "QtQuick" version 2.6 is not installed' Reported-by: Stefan Fuchs <sfuchs@gmx.de> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/MapWidgetContextMenu.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/MapWidgetContextMenu.qml b/mobile-widgets/qml/MapWidgetContextMenu.qml
index a7cb568b3..17450a729 100644
--- a/mobile-widgets/qml/MapWidgetContextMenu.qml
+++ b/mobile-widgets/qml/MapWidgetContextMenu.qml
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
-import QtQuick 2.6
+import QtQuick 2.0
Item {
id: container