summaryrefslogtreecommitdiffstats
path: root/examples/help/contextsensitivehelp/helpbrowser.cpp
diff options
context:
space:
mode:
authorZhang Hao <zhanghao@uniontech.com>2021-10-18 17:28:39 +0800
committerZhang Hao <zhanghao@uniontech.com>2021-10-18 19:08:25 +0800
commit74ca5ebec9bf10289393553c2a591977c9268b07 (patch)
tree346a41903bbf55055e8b76f3b9c7ab5533b40528 /examples/help/contextsensitivehelp/helpbrowser.cpp
parent0099481761e8c52236aaa3f71d10dad34391e86f (diff)
Replace 0 with nullptr
We know that c++11 uses nullptr to replace 0, so we replace 0 with nullptr in the project. Change-Id: I52e3b70f58c477414ad8187e3d3cdae25408ecc7 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'examples/help/contextsensitivehelp/helpbrowser.cpp')
-rw-r--r--examples/help/contextsensitivehelp/helpbrowser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/help/contextsensitivehelp/helpbrowser.cpp b/examples/help/contextsensitivehelp/helpbrowser.cpp
index 4ff4b5c98..c5b29dad5 100644
--- a/examples/help/contextsensitivehelp/helpbrowser.cpp
+++ b/examples/help/contextsensitivehelp/helpbrowser.cpp
@@ -64,7 +64,7 @@ HelpBrowser::HelpBrowser(QWidget *parent)
m_helpEngine = new QHelpEngineCore(collectionFile, this);
if (!m_helpEngine->setupData()) {
delete m_helpEngine;
- m_helpEngine = 0;
+ m_helpEngine = nullptr;
}
}