mapwidgetcontextmenu: use a QtQuick 2.0 import

Following on beb0d5703a, 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>
This commit is contained in:
Lubomir I. Ivanov 2017-09-16 13:27:27 +03:00 committed by Dirk Hohndel
parent 5e1ad4948e
commit 5eeefbff8b

View file

@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
import QtQuick 2.6
import QtQuick 2.0
Item {
id: container