Commit feabb070 authored by Dennis Nienhüser's avatar Dennis Nienhüser

Do not crash on exit when a tour was created (KDE version only)

CCBUG: 341021
parent b29050af
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <QSlider> #include <QSlider>
#include <qurl.h> #include <qurl.h>
#include <QtCore/qnamespace.h> #include <QtCore/qnamespace.h>
#include <QPointer>
#include "MarbleDebug.h" #include "MarbleDebug.h"
#include "MarbleWidget.h" #include "MarbleWidget.h"
...@@ -52,7 +53,7 @@ public: ...@@ -52,7 +53,7 @@ public:
QList<SoundTrack*> m_soundTracks; QList<SoundTrack*> m_soundTracks;
QList<AnimatedUpdateTrack*> m_animatedUpdateTracks; QList<AnimatedUpdateTrack*> m_animatedUpdateTracks;
GeoDataFlyTo m_mapCenter; GeoDataFlyTo m_mapCenter;
MarbleWidget *m_widget; QPointer<MarbleWidget> m_widget;
QUrl m_baseUrl; QUrl m_baseUrl;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment