summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-tables/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/doc/snippets/textdocument-tables/mainwindow.h')
-rw-r--r--src/gui/doc/snippets/textdocument-tables/mainwindow.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/doc/snippets/textdocument-tables/mainwindow.h b/src/gui/doc/snippets/textdocument-tables/mainwindow.h
index dc26cf3650b..b0ff5c1b913 100644
--- a/src/gui/doc/snippets/textdocument-tables/mainwindow.h
+++ b/src/gui/doc/snippets/textdocument-tables/mainwindow.h
@@ -47,7 +47,6 @@
** $QT_END_LICENSE$
**
****************************************************************************/
-
#ifndef WINDOW_H
#define WINDOW_H
@@ -69,7 +68,7 @@ public slots:
private:
bool writeXml(const QString &fileName);
- QTextEdit *editor;
+ QTextEdit *editor = nullptr;
};
#endif