summaryrefslogtreecommitdiff
path: root/src/assistant/assistant/helpviewer_qtb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/assistant/assistant/helpviewer_qtb.cpp')
-rw-r--r--src/assistant/assistant/helpviewer_qtb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/assistant/assistant/helpviewer_qtb.cpp b/src/assistant/assistant/helpviewer_qtb.cpp
index 0ed234542..b522e1ba2 100644
--- a/src/assistant/assistant/helpviewer_qtb.cpp
+++ b/src/assistant/assistant/helpviewer_qtb.cpp
@@ -334,9 +334,9 @@ void HelpViewer::contextMenuEvent(QContextMenuEvent *event)
{
TRACE_OBJ
- QMenu menu(QString(), 0);
+ QMenu menu(QString(), nullptr);
QUrl link;
- QAction *copyAnchorAction = 0;
+ QAction *copyAnchorAction = nullptr;
if (d->hasAnchorAt(this, event->pos())) {
link = anchorAt(event->pos());
if (link.isRelative())