aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/snippets
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2018-05-07 17:31:08 +0200
committerTobias Hunger <tobias.hunger@qt.io>2018-05-08 07:41:56 +0000
commit2bd400be5f4fa8f153bec07f3659c7f4ec3b861d (patch)
tree423609dc35d1afc5443a863232aa61d84a23a0e6 /src/plugins/texteditor/snippets
parent5c56f6878e559f5fd42fd152df90140121ff8ee5 (diff)
TextEditor: Consistently use nullptr
Fixed by clang-tidy modernize-use-nullptr. Change-Id: I7170c4cb1eef0aa5cd2b10d626ebcae38090a713 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/texteditor/snippets')
-rw-r--r--src/plugins/texteditor/snippets/snippeteditor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/texteditor/snippets/snippeteditor.h b/src/plugins/texteditor/snippets/snippeteditor.h
index 75b2c56ea99..8bb972cf685 100644
--- a/src/plugins/texteditor/snippets/snippeteditor.h
+++ b/src/plugins/texteditor/snippets/snippeteditor.h
@@ -35,7 +35,7 @@ class TEXTEDITOR_EXPORT SnippetEditorWidget : public TextEditorWidget
Q_OBJECT
public:
- SnippetEditorWidget(QWidget *parent = 0);
+ SnippetEditorWidget(QWidget *parent = nullptr);
signals:
void snippetContentChanged();
@@ -43,7 +43,7 @@ signals:
protected:
void focusOutEvent(QFocusEvent *event) override;
- int extraAreaWidth(int * /* markWidthPtr */ = 0) const override { return 0; }
+ int extraAreaWidth(int * /* markWidthPtr */ = nullptr) const override { return 0; }
};
} // namespace TextEditor