diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2018-05-07 17:31:08 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2018-05-08 07:41:56 +0000 |
commit | 2bd400be5f4fa8f153bec07f3659c7f4ec3b861d (patch) | |
tree | 423609dc35d1afc5443a863232aa61d84a23a0e6 /src/plugins/texteditor/snippets | |
parent | 5c56f6878e559f5fd42fd152df90140121ff8ee5 (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.h | 4 |
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 |