aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/tracing/timelineabstractrenderer_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/tracing/timelineabstractrenderer_p.h')
-rw-r--r--src/libs/tracing/timelineabstractrenderer_p.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/libs/tracing/timelineabstractrenderer_p.h b/src/libs/tracing/timelineabstractrenderer_p.h
index 0626710cd8..98d97004a3 100644
--- a/src/libs/tracing/timelineabstractrenderer_p.h
+++ b/src/libs/tracing/timelineabstractrenderer_p.h
@@ -27,6 +27,8 @@
#include "timelineabstractrenderer.h"
+#include <QPointer>
+
namespace Timeline {
class TRACING_EXPORT TimelineAbstractRenderer::TimelineAbstractRendererPrivate {
@@ -36,9 +38,9 @@ public:
int selectedItem;
bool selectionLocked;
- TimelineModel *model;
- TimelineNotesModel *notes;
- TimelineZoomControl *zoomer;
+ QPointer<TimelineModel> model;
+ QPointer<TimelineNotesModel> notes;
+ QPointer<TimelineZoomControl> zoomer;
bool modelDirty;
bool rowHeightsDirty;