diff options
author | Nico Vertriest <[email protected]> | 2020-08-29 13:26:07 +0200 |
---|---|---|
committer | Paul Wicking <[email protected]> | 2020-09-01 06:13:02 +0200 |
commit | 6283f447cd06ea71c73225db59f9173b0a2f06ef (patch) | |
tree | 63f753a5edc4c6bac7b78589ac9cbf214a491ba1 /src/gui/doc/snippets/textdocument-frames/mainwindow.h | |
parent | b28870b2cc328d4b45c838c377ffc607e5a12b6b (diff) |
Doc: Make snippets Qt Gui compilable - textdocument-frames
Task-number: QTBUG-81486
Change-Id: Ia027d2f07e61944e8a2cc40a24ee23b2d8e526b0
Reviewed-by: Topi Reiniƶ <[email protected]>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-frames/mainwindow.h')
-rw-r--r-- | src/gui/doc/snippets/textdocument-frames/mainwindow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/doc/snippets/textdocument-frames/mainwindow.h b/src/gui/doc/snippets/textdocument-frames/mainwindow.h index d4f41c81c02..941138d0e91 100644 --- a/src/gui/doc/snippets/textdocument-frames/mainwindow.h +++ b/src/gui/doc/snippets/textdocument-frames/mainwindow.h @@ -68,7 +68,7 @@ public slots: private: bool writeXml(const QString &fileName); - QTextEdit *editor; + QTextEdit *editor = nullptr; }; #endif |