From b16b7d887980fbdbb2e12867e2d14b81c0361654 Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Sat, 29 Aug 2020 14:10:22 +0200 Subject: Doc: Compile textdocument-tables snippets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Minor code cleanup in passing. Task-number: QTBUG-81486 Change-Id: I23f8b3a22f627050582c69c81e5e0b85b5e45768 Reviewed-by: Topi Reiniƶ --- src/gui/doc/snippets/textdocument-tables/mainwindow.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/doc/snippets/textdocument-tables/mainwindow.h') diff --git a/src/gui/doc/snippets/textdocument-tables/mainwindow.h b/src/gui/doc/snippets/textdocument-tables/mainwindow.h index dc26cf3650..b0ff5c1b91 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 -- cgit v1.2.1