aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/textmark.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2017-07-18 23:15:52 +0200
committerTobias Hunger <tobias.hunger@qt.io>2017-07-20 12:45:53 +0000
commit7d33f0f061fe5282512ccb576847a82877c31154 (patch)
tree39eeea36a9c0bd7ebc32dd2a9632dd75cccb48b6 /src/plugins/texteditor/textmark.cpp
parent2f0a395017d7a72c5c03e4f3876640ad253bb213 (diff)
TextEditor: Initialize some members
Coverity was complaining about these, in some places even rightly so:-) Change-Id: Ia85cdd2c74f05edba6f0d4534aa9f2ee2a750595 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/texteditor/textmark.cpp')
-rw-r--r--src/plugins/texteditor/textmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/textmark.cpp b/src/plugins/texteditor/textmark.cpp
index 254999f1b3..d1fc50689c 100644
--- a/src/plugins/texteditor/textmark.cpp
+++ b/src/plugins/texteditor/textmark.cpp
@@ -94,7 +94,7 @@ TextMark::~TextMark()
TextMarkRegistry::remove(this);
if (m_baseTextDocument)
m_baseTextDocument->removeMark(this);
- m_baseTextDocument = 0;
+ m_baseTextDocument = nullptr;
}
QString TextMark::fileName() const