aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/help/helpviewer.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2018-04-19 10:47:13 +0200
committerEike Ziller <eike.ziller@qt.io>2018-04-19 12:07:59 +0000
commitda18fc1f50e07d4bec6f32c0ccf5f08ea10fb634 (patch)
treeb0c8d37fcfa736b591ebe95d046ce66b35e9a486 /src/plugins/help/helpviewer.h
parent0e81d01b2a1d02fe1a4313716be232cf9f918f05 (diff)
Help: Use nullptr and fix a few warnings
Change-Id: I7f7307a765d8755bf96b0cad1210e61df0a0199f Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/help/helpviewer.h')
-rw-r--r--src/plugins/help/helpviewer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/help/helpviewer.h b/src/plugins/help/helpviewer.h
index c98e8dbbfb..28a2312e46 100644
--- a/src/plugins/help/helpviewer.h
+++ b/src/plugins/help/helpviewer.h
@@ -48,7 +48,7 @@ public:
};
Q_DECLARE_FLAGS(Actions, Action)
- explicit HelpViewer(QWidget *parent = 0);
+ explicit HelpViewer(QWidget *parent = nullptr);
~HelpViewer();
virtual QFont viewerFont() const = 0;
@@ -75,7 +75,7 @@ public:
bool isActionVisible(Action action);
virtual bool findText(const QString &text, Core::FindFlags flags,
- bool incremental, bool fromSearch, bool *wrapped = 0) = 0;
+ bool incremental, bool fromSearch, bool *wrapped = nullptr) = 0;
bool handleForwardBackwardMouseButtons(QMouseEvent *e);