summaryrefslogtreecommitdiffstats
path: root/examples/widgets/widgets/codeeditor/codeeditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/widgets/codeeditor/codeeditor.h')
-rw-r--r--examples/widgets/widgets/codeeditor/codeeditor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/widgets/codeeditor/codeeditor.h b/examples/widgets/widgets/codeeditor/codeeditor.h
index 65be76d81d..fcfc188cf2 100644
--- a/examples/widgets/widgets/codeeditor/codeeditor.h
+++ b/examples/widgets/widgets/codeeditor/codeeditor.h
@@ -70,7 +70,7 @@ class CodeEditor : public QPlainTextEdit
Q_OBJECT
public:
- CodeEditor(QWidget *parent = 0);
+ CodeEditor(QWidget *parent = nullptr);
void lineNumberAreaPaintEvent(QPaintEvent *event);
int lineNumberAreaWidth();