Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 08cb69b7 authored by Torsten Rahn's avatar Torsten Rahn Committed by Torsten Rahn

Make m_lastPlacemarkAt a QPointer to avoid crashes.

parent 7a20f244
......@@ -22,6 +22,7 @@
#include <QSet>
#include <QMap>
#include <QVector>
#include <QPointer>
#include "GeoDataPlacemark.h"
#include <GeoDataStyle.h>
......@@ -167,7 +168,7 @@ class PlacemarkLayout : public QObject
int m_maxLabelHeight;
bool m_styleResetRequested;
const StyleBuilder* m_styleBuilder;
VisiblePlacemark* m_lastPlacemarkAt;
QPointer<VisiblePlacemark> m_lastPlacemarkAt;
};
}
......
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