summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/mainwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 8e7620d7a..592f9e3f0 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -63,6 +63,8 @@
#include "plugins/facebook/facebookconnectwidget.h"
#endif
+#include "desktop-widgets/mapwidget.h"
+
QProgressDialog *progressDialog = NULL;
bool progressDialogCanceled = false;
@@ -106,7 +108,7 @@ MainWindow::MainWindow() : QMainWindow(),
#ifndef NO_MARBLE
GlobeGPS *mapWidget = GlobeGPS::instance();
#else
- QWidget *mapWidget = NULL;
+ MapWidget *mapWidget = MapWidget::instance();
#endif
PlannerSettingsWidget *plannerSettings = new PlannerSettingsWidget();