summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-listitemstyles/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/doc/snippets/textdocument-listitemstyles/mainwindow.h')
-rw-r--r--src/gui/doc/snippets/textdocument-listitemstyles/mainwindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/doc/snippets/textdocument-listitemstyles/mainwindow.h b/src/gui/doc/snippets/textdocument-listitemstyles/mainwindow.h
index baf9be5f0d..6219863e64 100644
--- a/src/gui/doc/snippets/textdocument-listitemstyles/mainwindow.h
+++ b/src/gui/doc/snippets/textdocument-listitemstyles/mainwindow.h
@@ -68,8 +68,8 @@ public slots:
private:
QString currentFile;
- QTextEdit *editor;
- QTextDocument *document;
+ QTextEdit *editor = nullptr;
+ QTextDocument *document = nullptr;
};
#endif