From 5c85cf0ac910f60b8ca91d78d43844bdca585127 Mon Sep 17 00:00:00 2001 From: Daniel Teske Date: Fri, 3 Feb 2012 16:06:50 +0100 Subject: [PATCH] Initialize m_priority in ITextMark Change-Id: I8d776732729a7c67ae4fe5405f65ae5de7284845 Reviewed-by: hjk --- src/plugins/texteditor/itexteditor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/texteditor/itexteditor.h b/src/plugins/texteditor/itexteditor.h index 3aedef584f9..c6b3d86e973 100644 --- a/src/plugins/texteditor/itexteditor.h +++ b/src/plugins/texteditor/itexteditor.h @@ -59,7 +59,7 @@ class TEXTEDITOR_EXPORT ITextMark : public QObject { Q_OBJECT public: - ITextMark(QObject *parent = 0) : QObject(parent) {} + ITextMark(QObject *parent = 0) : QObject(parent), m_priority(NormalPriority) {} // determine order on markers on the same line. enum Priority