summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/snippets/snippet.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2018-09-20 01:16:01 +0300
committerOrgad Shaneh <orgads@gmail.com>2018-09-20 08:48:49 +0000
commit41dee83becb19aa5fadae8ef9469216bcab1440c (patch)
tree2fd37b0111d0e3b78976fa8f8fbaefff30f49003 /src/plugins/texteditor/snippets/snippet.cpp
parent439bc225e1c0f3d964c8a3da6e9757a821a5944c (diff)
downloadqt-creator-41dee83becb19aa5fadae8ef9469216bcab1440c.tar.gz
TextEditor: Modernize
override, auto, nullptr, member initializers. Change-Id: I04c6ebb683849568973bd7782fb5a3279267141e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/texteditor/snippets/snippet.cpp')
-rw-r--r--src/plugins/texteditor/snippets/snippet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/snippets/snippet.cpp b/src/plugins/texteditor/snippets/snippet.cpp
index 78ce8aa262..c80fbcb2af 100644
--- a/src/plugins/texteditor/snippets/snippet.cpp
+++ b/src/plugins/texteditor/snippets/snippet.cpp
@@ -222,7 +222,7 @@ Snippet::ParsedSnippet Snippet::parse(const QString &snippet)
} else {
int length = result.text.count() - start;
result.ranges << ParsedSnippet::Range(start, length, mangler);
- mangler = 0;
+ mangler = nullptr;
start = -1;
}
continue;