summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-11-04 21:23:37 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-05 14:48:56 -0800
commit956b45ddfda060fcd818659ee05618ed2e4bfcab (patch)
tree1acb6ff91cba57e059e7eac8868ecd066539b230 /desktop-widgets
parent6ce4239884780fafdf641fa52a2a8c7a0a02450d (diff)
downloadsubsurface-956b45ddfda060fcd818659ee05618ed2e4bfcab.tar.gz
map-widget: move the widget and its resources to 'map-widget'
Move all the map widget platform agnostic files to the <subsurface-root>/map-widget folder. This avoids the confusion about the desktop version of subsurface using mobile components. The map widget is planned as a shared component between the mobile and desktop versions. desktop-widgets/mapwidget[.h/.cpp] still remain as those are specific to the desktop version. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/CMakeLists.txt2
-rw-r--r--desktop-widgets/mapwidget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/CMakeLists.txt b/desktop-widgets/CMakeLists.txt
index 6a7e1313b..b94b840d1 100644
--- a/desktop-widgets/CMakeLists.txt
+++ b/desktop-widgets/CMakeLists.txt
@@ -69,7 +69,7 @@ set(SUBSURFACE_INTERFACE
kmessagewidget.cpp
mainwindow.cpp
mapwidget.cpp
- ../mobile-widgets/qmlmapwidgethelper.cpp
+ ../map-widget/qmlmapwidgethelper.cpp
modeldelegates.cpp
notificationwidget.cpp
simplewidgets.cpp
diff --git a/desktop-widgets/mapwidget.cpp b/desktop-widgets/mapwidget.cpp
index 806b82c2d..aefda2a32 100644
--- a/desktop-widgets/mapwidget.cpp
+++ b/desktop-widgets/mapwidget.cpp
@@ -7,7 +7,7 @@
#include "mapwidget.h"
#include "core/dive.h"
#include "core/divesite.h"
-#include "mobile-widgets/qmlmapwidgethelper.h"
+#include "map-widget/qmlmapwidgethelper.h"
#include "qt-models/maplocationmodel.h"
#include "mainwindow.h"
#include "divelistview.h"