From 1db92ff2805b14096b0b4d24b1beae4d78338893 Mon Sep 17 00:00:00 2001 From: janbar Date: Sat, 12 Oct 2024 22:17:16 +0200 Subject: [PATCH] qml: fix unused import --- gui/controls2_515/ConfigureMap.qml | 1 - gui/controls2_515/ConfigureVoice.qml | 1 - gui/controls2_515/DialogAbout.qml | 1 - gui/controls2_515/Favorites.qml | 1 - gui/controls2_515/LocationInfo.qml | 1 - gui/controls2_515/MainMenu.qml | 1 - gui/controls2_515/MapDownloads.qml | 1 - gui/controls2_515/MapView.qml | 1 - gui/controls2_515/Routing.qml | 1 - gui/controls2_515/SearchPlace.qml | 1 - gui/controls2_515/Settings.qml | 1 - gui/controls2_515/TrackCollection.qml | 1 - gui/controls2_515/Tracking.qml | 1 - gui/controls2_515/Welcome.qml | 1 - gui/controls2_515/components/ActivitySpinner.qml | 1 - gui/controls2_515/components/CompassSensor.qml | 1 - gui/controls2_515/components/DialogAction.qml | 1 - gui/controls2_515/components/DialogAlert.qml | 1 - gui/controls2_515/components/DialogBase.qml | 1 - gui/controls2_515/components/DialogEnter.qml | 1 - gui/controls2_515/components/DialogMarkPosition.qml | 1 - gui/controls2_515/components/MapCheckBox.qml | 1 - gui/controls2_515/components/MapIcon.qml | 1 - gui/controls2_515/components/MapListView.qml | 1 - gui/controls2_515/components/MapPage.qml | 1 - gui/controls2_515/components/MapRotator.qml | 1 - gui/controls2_515/components/MapVoice.qml | 1 - gui/controls2_515/components/Navigator.qml | 1 - gui/controls2_515/components/NavigatorInfo.qml | 1 - gui/controls2_515/components/NavigatorRouting.qml | 1 - gui/controls2_515/components/OverlayManager.qml | 1 - gui/controls2_515/components/POIIcon.qml | 1 - gui/controls2_515/components/PhoneLink.qml | 1 - gui/controls2_515/components/PopInfo.qml | 1 - gui/controls2_515/components/PopOver.qml | 1 - gui/controls2_515/components/RouteOverview.qml | 1 - gui/controls2_515/components/ScaleIndicator.qml | 1 - gui/controls2_515/components/SearchField.qml | 1 - gui/controls2_515/components/SimpleListItem.qml | 1 - gui/controls2_515/components/SimpleRow.qml | 1 - gui/controls2_515/components/StyleLight.qml | 1 - gui/controls2_515/components/Units.qml | 1 - gui/controls2_515/components/WAYIcon.qml | 1 - gui/controls2_515/components/WebLink.qml | 1 - 44 files changed, 44 deletions(-) diff --git a/gui/controls2_515/ConfigureMap.qml b/gui/controls2_515/ConfigureMap.qml index 833d37b4..420e552f 100644 --- a/gui/controls2_515/ConfigureMap.qml +++ b/gui/controls2_515/ConfigureMap.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import Osmin 1.0 import "./components" import "../toolbox.js" as ToolBox diff --git a/gui/controls2_515/ConfigureVoice.qml b/gui/controls2_515/ConfigureVoice.qml index dc7cd620..944de402 100644 --- a/gui/controls2_515/ConfigureVoice.qml +++ b/gui/controls2_515/ConfigureVoice.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import QtQml.Models 2.3 import Osmin 1.0 import "./components" diff --git a/gui/controls2_515/DialogAbout.qml b/gui/controls2_515/DialogAbout.qml index a1e8f25a..37a5d7ae 100644 --- a/gui/controls2_515/DialogAbout.qml +++ b/gui/controls2_515/DialogAbout.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import Osmin 1.0 import "./components" diff --git a/gui/controls2_515/Favorites.qml b/gui/controls2_515/Favorites.qml index 597dffcf..85684bfe 100644 --- a/gui/controls2_515/Favorites.qml +++ b/gui/controls2_515/Favorites.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import QtQml.Models 2.3 import Osmin 1.0 import "./components" diff --git a/gui/controls2_515/LocationInfo.qml b/gui/controls2_515/LocationInfo.qml index e8d3fcda..21cfc1f1 100644 --- a/gui/controls2_515/LocationInfo.qml +++ b/gui/controls2_515/LocationInfo.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import Osmin 1.0 import "./components" diff --git a/gui/controls2_515/MainMenu.qml b/gui/controls2_515/MainMenu.qml index 9ed2dabd..bee70713 100644 --- a/gui/controls2_515/MainMenu.qml +++ b/gui/controls2_515/MainMenu.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import QtQml.Models 2.3 import "./components" import "../toolbox.js" as ToolBox diff --git a/gui/controls2_515/MapDownloads.qml b/gui/controls2_515/MapDownloads.qml index ff76e67a..a835ab5b 100644 --- a/gui/controls2_515/MapDownloads.qml +++ b/gui/controls2_515/MapDownloads.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import QtQml.Models 2.3 import Osmin 1.0 import "./components" diff --git a/gui/controls2_515/MapView.qml b/gui/controls2_515/MapView.qml index aa3a3fe6..aa95ed4f 100644 --- a/gui/controls2_515/MapView.qml +++ b/gui/controls2_515/MapView.qml @@ -18,7 +18,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 import QtQuick.Layouts 1.3 -import QtQml 2.2 import Osmin 1.0 import "./components" import "../toolbox.js" as ToolBox diff --git a/gui/controls2_515/Routing.qml b/gui/controls2_515/Routing.qml index a3831fc9..1990965b 100644 --- a/gui/controls2_515/Routing.qml +++ b/gui/controls2_515/Routing.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import QtQml.Models 2.3 import Osmin 1.0 import "./components" diff --git a/gui/controls2_515/SearchPlace.qml b/gui/controls2_515/SearchPlace.qml index 0ac68a71..e0ef62f6 100644 --- a/gui/controls2_515/SearchPlace.qml +++ b/gui/controls2_515/SearchPlace.qml @@ -1,6 +1,5 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import Osmin 1.0 import "./components" import "../toolbox.js" as ToolBox diff --git a/gui/controls2_515/Settings.qml b/gui/controls2_515/Settings.qml index 5b972003..cce9029a 100644 --- a/gui/controls2_515/Settings.qml +++ b/gui/controls2_515/Settings.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import QtQml.Models 2.3 import QtQuick.Layouts 1.3 import Osmin 1.0 diff --git a/gui/controls2_515/TrackCollection.qml b/gui/controls2_515/TrackCollection.qml index c8fda753..90b944b6 100644 --- a/gui/controls2_515/TrackCollection.qml +++ b/gui/controls2_515/TrackCollection.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import QtQml.Models 2.3 import Osmin 1.0 import "./components" diff --git a/gui/controls2_515/Tracking.qml b/gui/controls2_515/Tracking.qml index 2c65b4e0..792546bb 100644 --- a/gui/controls2_515/Tracking.qml +++ b/gui/controls2_515/Tracking.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import Osmin 1.0 import "./components" diff --git a/gui/controls2_515/Welcome.qml b/gui/controls2_515/Welcome.qml index bbbe9256..66308464 100644 --- a/gui/controls2_515/Welcome.qml +++ b/gui/controls2_515/Welcome.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import "./components" MapPage { diff --git a/gui/controls2_515/components/ActivitySpinner.qml b/gui/controls2_515/components/ActivitySpinner.qml index b6ff6a02..e4aa340e 100644 --- a/gui/controls2_515/components/ActivitySpinner.qml +++ b/gui/controls2_515/components/ActivitySpinner.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 Item { id: loading diff --git a/gui/controls2_515/components/CompassSensor.qml b/gui/controls2_515/components/CompassSensor.qml index 2fa93442..03bca539 100644 --- a/gui/controls2_515/components/CompassSensor.qml +++ b/gui/controls2_515/components/CompassSensor.qml @@ -16,7 +16,6 @@ */ import QtQuick 2.0 -import QtQml 2.2 //import QtSensors 5.2 as Legacy import Osmin 1.0 as Osmin diff --git a/gui/controls2_515/components/DialogAction.qml b/gui/controls2_515/components/DialogAction.qml index f1f111ea..6c7a9055 100644 --- a/gui/controls2_515/components/DialogAction.qml +++ b/gui/controls2_515/components/DialogAction.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 DialogBase { id: dialog diff --git a/gui/controls2_515/components/DialogAlert.qml b/gui/controls2_515/components/DialogAlert.qml index ca285168..daa9db29 100644 --- a/gui/controls2_515/components/DialogAlert.qml +++ b/gui/controls2_515/components/DialogAlert.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 DialogBase { id: dialog diff --git a/gui/controls2_515/components/DialogBase.qml b/gui/controls2_515/components/DialogBase.qml index 30b95616..245ba498 100644 --- a/gui/controls2_515/components/DialogBase.qml +++ b/gui/controls2_515/components/DialogBase.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 Dialog { id: dialog diff --git a/gui/controls2_515/components/DialogEnter.qml b/gui/controls2_515/components/DialogEnter.qml index 01df9fce..0f4e8989 100644 --- a/gui/controls2_515/components/DialogEnter.qml +++ b/gui/controls2_515/components/DialogEnter.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 DialogBase { id: dialog diff --git a/gui/controls2_515/components/DialogMarkPosition.qml b/gui/controls2_515/components/DialogMarkPosition.qml index f059bc8a..682f0320 100644 --- a/gui/controls2_515/components/DialogMarkPosition.qml +++ b/gui/controls2_515/components/DialogMarkPosition.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 DialogBase { id: dialog diff --git a/gui/controls2_515/components/MapCheckBox.qml b/gui/controls2_515/components/MapCheckBox.qml index 27d6331b..7d2fabd1 100644 --- a/gui/controls2_515/components/MapCheckBox.qml +++ b/gui/controls2_515/components/MapCheckBox.qml @@ -17,7 +17,6 @@ import QtQuick 2.2 import QtQuick.Controls 2.2 -import QtQml 2.2 Item { id: control diff --git a/gui/controls2_515/components/MapIcon.qml b/gui/controls2_515/components/MapIcon.qml index 3d39b398..350f53bb 100644 --- a/gui/controls2_515/components/MapIcon.qml +++ b/gui/controls2_515/components/MapIcon.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import QtGraphicalEffects 1.0 MouseArea { diff --git a/gui/controls2_515/components/MapListView.qml b/gui/controls2_515/components/MapListView.qml index aa21f3b5..133e0273 100644 --- a/gui/controls2_515/components/MapListView.qml +++ b/gui/controls2_515/components/MapListView.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 ListView { Component.onCompleted: { diff --git a/gui/controls2_515/components/MapPage.qml b/gui/controls2_515/components/MapPage.qml index abf1ebc5..f3685536 100644 --- a/gui/controls2_515/components/MapPage.qml +++ b/gui/controls2_515/components/MapPage.qml @@ -18,7 +18,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 import QtQuick.Layouts 1.3 -import QtQml 2.2 // generic page for map Page { diff --git a/gui/controls2_515/components/MapRotator.qml b/gui/controls2_515/components/MapRotator.qml index faa42f46..883bab72 100644 --- a/gui/controls2_515/components/MapRotator.qml +++ b/gui/controls2_515/components/MapRotator.qml @@ -16,7 +16,6 @@ */ import QtQuick 2.2 -import QtQml 2.2 import Osmin 1.0 Item { diff --git a/gui/controls2_515/components/MapVoice.qml b/gui/controls2_515/components/MapVoice.qml index 7f0cf07f..0cd6449f 100644 --- a/gui/controls2_515/components/MapVoice.qml +++ b/gui/controls2_515/components/MapVoice.qml @@ -16,7 +16,6 @@ */ import QtQuick 2.9 -import QtQml 2.2 import Osmin 1.0 Item { diff --git a/gui/controls2_515/components/Navigator.qml b/gui/controls2_515/components/Navigator.qml index ce00729f..9c44a782 100644 --- a/gui/controls2_515/components/Navigator.qml +++ b/gui/controls2_515/components/Navigator.qml @@ -16,7 +16,6 @@ */ import QtQuick 2.2 -import QtQml 2.2 import Osmin 1.0 Item { diff --git a/gui/controls2_515/components/NavigatorInfo.qml b/gui/controls2_515/components/NavigatorInfo.qml index 75367b74..b4c8f298 100644 --- a/gui/controls2_515/components/NavigatorInfo.qml +++ b/gui/controls2_515/components/NavigatorInfo.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import Osmin 1.0 Item { diff --git a/gui/controls2_515/components/NavigatorRouting.qml b/gui/controls2_515/components/NavigatorRouting.qml index 47c82690..52ed699c 100644 --- a/gui/controls2_515/components/NavigatorRouting.qml +++ b/gui/controls2_515/components/NavigatorRouting.qml @@ -16,7 +16,6 @@ */ import QtQuick 2.9 -import QtQml 2.2 import Osmin 1.0 Item { diff --git a/gui/controls2_515/components/OverlayManager.qml b/gui/controls2_515/components/OverlayManager.qml index 9016efd8..2a94fc0c 100644 --- a/gui/controls2_515/components/OverlayManager.qml +++ b/gui/controls2_515/components/OverlayManager.qml @@ -16,7 +16,6 @@ */ import QtQuick 2.9 -import QtQml 2.2 import Osmin 1.0 QtObject { diff --git a/gui/controls2_515/components/POIIcon.qml b/gui/controls2_515/components/POIIcon.qml index 54105e46..fa78cc93 100644 --- a/gui/controls2_515/components/POIIcon.qml +++ b/gui/controls2_515/components/POIIcon.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 MapIcon { id: poiIcon diff --git a/gui/controls2_515/components/PhoneLink.qml b/gui/controls2_515/components/PhoneLink.qml index 869373f4..de38bc90 100644 --- a/gui/controls2_515/components/PhoneLink.qml +++ b/gui/controls2_515/components/PhoneLink.qml @@ -17,7 +17,6 @@ import QtQuick 2.2 import QtQuick.Controls 2.2 -import QtQml 2.2 Item { property string phone: "" diff --git a/gui/controls2_515/components/PopInfo.qml b/gui/controls2_515/components/PopInfo.qml index 5df25dea..5c786632 100644 --- a/gui/controls2_515/components/PopInfo.qml +++ b/gui/controls2_515/components/PopInfo.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 Item { property string message: "" diff --git a/gui/controls2_515/components/PopOver.qml b/gui/controls2_515/components/PopOver.qml index 336605b5..6eb81137 100644 --- a/gui/controls2_515/components/PopOver.qml +++ b/gui/controls2_515/components/PopOver.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import "../../toolbox.js" as ToolBox Item { diff --git a/gui/controls2_515/components/RouteOverview.qml b/gui/controls2_515/components/RouteOverview.qml index 6d1f2dd9..6001533d 100644 --- a/gui/controls2_515/components/RouteOverview.qml +++ b/gui/controls2_515/components/RouteOverview.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import QtQml.Models 2.3 import Osmin 1.0 diff --git a/gui/controls2_515/components/ScaleIndicator.qml b/gui/controls2_515/components/ScaleIndicator.qml index cadb835d..378e4dd5 100644 --- a/gui/controls2_515/components/ScaleIndicator.qml +++ b/gui/controls2_515/components/ScaleIndicator.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 Item { id: scaleIndicator diff --git a/gui/controls2_515/components/SearchField.qml b/gui/controls2_515/components/SearchField.qml index e0f36d5b..d78facd9 100644 --- a/gui/controls2_515/components/SearchField.qml +++ b/gui/controls2_515/components/SearchField.qml @@ -18,7 +18,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 import QtQuick.Layouts 1.3 -import QtQml 2.2 Rectangle { id: filter diff --git a/gui/controls2_515/components/SimpleListItem.qml b/gui/controls2_515/components/SimpleListItem.qml index 88999b61..9d168a71 100644 --- a/gui/controls2_515/components/SimpleListItem.qml +++ b/gui/controls2_515/components/SimpleListItem.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 import QtQml.Models 2.3 import "../" diff --git a/gui/controls2_515/components/SimpleRow.qml b/gui/controls2_515/components/SimpleRow.qml index 5b497f83..37e37d1f 100644 --- a/gui/controls2_515/components/SimpleRow.qml +++ b/gui/controls2_515/components/SimpleRow.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 Item { property alias column: columnComponent.sourceComponent diff --git a/gui/controls2_515/components/StyleLight.qml b/gui/controls2_515/components/StyleLight.qml index 1be6ec40..49cef6d5 100644 --- a/gui/controls2_515/components/StyleLight.qml +++ b/gui/controls2_515/components/StyleLight.qml @@ -16,7 +16,6 @@ */ import QtQuick 2.9 -import QtQml 2.2 import QtQuick.Controls 2.2 QtObject { diff --git a/gui/controls2_515/components/Units.qml b/gui/controls2_515/components/Units.qml index dfc3b258..c74d0ffc 100644 --- a/gui/controls2_515/components/Units.qml +++ b/gui/controls2_515/components/Units.qml @@ -16,7 +16,6 @@ */ import QtQuick 2.9 -import QtQml 2.2 QtObject { property real scaleFactor: 1.0 diff --git a/gui/controls2_515/components/WAYIcon.qml b/gui/controls2_515/components/WAYIcon.qml index a5e7bd3a..639861a5 100644 --- a/gui/controls2_515/components/WAYIcon.qml +++ b/gui/controls2_515/components/WAYIcon.qml @@ -17,7 +17,6 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 -import QtQml 2.2 MapIcon { id: wayIcon diff --git a/gui/controls2_515/components/WebLink.qml b/gui/controls2_515/components/WebLink.qml index ab48e7a2..dfefe81a 100644 --- a/gui/controls2_515/components/WebLink.qml +++ b/gui/controls2_515/components/WebLink.qml @@ -17,7 +17,6 @@ import QtQuick 2.2 import QtQuick.Controls 2.2 -import QtQml 2.2 Item { property string url: ""