forked from qt-creator/qt-creator
TextEditor: Consistently use nullptr
Fixed by clang-tidy modernize-use-nullptr. Change-Id: I7170c4cb1eef0aa5cd2b10d626ebcae38090a713 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user