diff options
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 d4f41c81c0..941138d0e9 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 |