From 138e50b52d787071183b47e5be15c7db96e3f1d7 Mon Sep 17 00:00:00 2001 From: AmonRaNet Date: Wed, 5 Jun 2024 00:23:47 +0200 Subject: [PATCH] Fixes for PR 54 --- QGeoView.pro | 2 +- lib/include/QGeoView/QGVMapQGView.h | 1 - samples/drag-and-drop/mainwindow.cpp | 6 ------ 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/QGeoView.pro b/QGeoView.pro index 561beb8..984cb41 100644 --- a/QGeoView.pro +++ b/QGeoView.pro @@ -17,4 +17,4 @@ SUBDIRS = \ samples/moving-objects \ samples/mouse-actions \ samples/camera-actions \ - samples/drag-and-drop + samples/drag-and-drop diff --git a/lib/include/QGeoView/QGVMapQGView.h b/lib/include/QGeoView/QGVMapQGView.h index 5b7139b..a215bed 100644 --- a/lib/include/QGeoView/QGVMapQGView.h +++ b/lib/include/QGeoView/QGVMapQGView.h @@ -23,7 +23,6 @@ #include "QGVMapQGItem.h" #include "QGVMapRubberBand.h" - #include #include #include diff --git a/samples/drag-and-drop/mainwindow.cpp b/samples/drag-and-drop/mainwindow.cpp index 5a5f131..ca9babe 100644 --- a/samples/drag-and-drop/mainwindow.cpp +++ b/samples/drag-and-drop/mainwindow.cpp @@ -25,7 +25,6 @@ #include #include -//#include #include #include #include @@ -77,11 +76,6 @@ MainWindow::MainWindow(QWidget* parent) Helpers::setupCachedNetworkAccessManager(this); mMap = new QGVMap(this); - // Background layer - // QGVLayer * layerBDGExCTM250 = new QGVLayerBDGEx(QGV::BDGExLayer::ctm250); - // layerBDGExCTM250->setName("BDGEx CTM250"); - // mMap->addItem(layerBDGExCTM250); - QGVLayer* layerGoogleSchema = new QGVLayerGoogle(QGV::TilesType::Schema); layerGoogleSchema->setName("Google Schema"); mMap->addItem(layerGoogleSchema);