aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/help/xbelsupport.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2018-11-11 10:08:29 +0100
committerAlessandro Portale <alessandro.portale@qt.io>2018-11-12 11:10:38 +0000
commit901b2be036618f562ecfc3bf48be58830609bfe7 (patch)
treee078d729c33efb6c45dfaa67b8d112fb5e33396e /src/plugins/help/xbelsupport.cpp
parent644110f6e03eae18ae9c382465a3f7eb550653a6 (diff)
HelpPlugin: Modernize
modernize-use-* Change-Id: Ie0058675c1336377326089dbc093436130f1fe03 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/help/xbelsupport.cpp')
-rw-r--r--src/plugins/help/xbelsupport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/help/xbelsupport.cpp b/src/plugins/help/xbelsupport.cpp
index ea4313f5bcf..bf890c5e6db 100644
--- a/src/plugins/help/xbelsupport.cpp
+++ b/src/plugins/help/xbelsupport.cpp
@@ -211,7 +211,7 @@ void XbelReader::readBookmark(QStandardItem *item)
QStandardItem *XbelReader::createChildItem(QStandardItem *item)
{
- QStandardItem *childItem = new QStandardItem();
+ auto childItem = new QStandardItem;
childItem->setEditable(false);
if (item)