summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-listitems/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/doc/snippets/textdocument-listitems/mainwindow.cpp')
-rw-r--r--src/gui/doc/snippets/textdocument-listitems/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/doc/snippets/textdocument-listitems/mainwindow.cpp b/src/gui/doc/snippets/textdocument-listitems/mainwindow.cpp
index 7daf4f46c3..5179208f61 100644
--- a/src/gui/doc/snippets/textdocument-listitems/mainwindow.cpp
+++ b/src/gui/doc/snippets/textdocument-listitems/mainwindow.cpp
@@ -130,9 +130,9 @@ void MainWindow::showList()
headerLabels << tr("Lists");
treeWidget->setHeaderLabels(headerLabels);
- QTreeWidgetItem *parentItem = 0;
+ QTreeWidgetItem *parentItem = nullptr;
QTreeWidgetItem *item;
- QTreeWidgetItem *lastItem = 0;
+ QTreeWidgetItem *lastItem = nullptr;
parentItems.clear();
previousItems.clear();