mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
remove Marble from the source tree
In desktop-widgets, remove globe.cpp, globe.h and also remove the NO_MARBLE macro usage. At this point the MapWidget will always be created and there will always be a map in the application. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
a7d8e0d187
commit
4bb180b117
8 changed files with 0 additions and 642 deletions
|
|
@ -5,7 +5,6 @@
|
|||
#include "desktop-widgets/mainwindow.h"
|
||||
#include "desktop-widgets/usersurvey.h"
|
||||
#include "core/divelist.h"
|
||||
#include "desktop-widgets/globe.h"
|
||||
#include "desktop-widgets/mapwidget.h"
|
||||
#include "desktop-widgets/tab-widgets/maintab.h"
|
||||
#include "core/display.h"
|
||||
|
|
@ -482,13 +481,8 @@ void SubsurfaceWebServices::buttonClicked(QAbstractButton *button)
|
|||
// finally now that all the extra GPS fixes that weren't used have been deleted
|
||||
// we can update the map
|
||||
if (changed) {
|
||||
#ifndef NO_MARBLE
|
||||
GlobeGPS::instance()->repopulateLabels();
|
||||
GlobeGPS::instance()->centerOnDiveSite(get_dive_site_by_uuid(current_dive->dive_site_uuid));
|
||||
#else
|
||||
MapWidget::instance()->repopulateLabels();
|
||||
MapWidget::instance()->centerOnDiveSite(get_dive_site_by_uuid(current_dive->dive_site_uuid));
|
||||
#endif
|
||||
}
|
||||
|
||||
} break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue