Help: Use nullptr and fix a few warnings

Change-Id: I7f7307a765d8755bf96b0cad1210e61df0a0199f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Eike Ziller
2018-04-19 10:47:13 +02:00
parent 0e81d01b2a
commit da18fc1f50
29 changed files with 70 additions and 77 deletions

View File

@@ -67,7 +67,7 @@ class MacWebKitHelpViewer : public HelpViewer
Q_OBJECT
public:
explicit MacWebKitHelpViewer(QWidget *parent = 0);
explicit MacWebKitHelpViewer(QWidget *parent = nullptr);
~MacWebKitHelpViewer();
QFont viewerFont() const;
@@ -93,7 +93,7 @@ public:
void setActionVisible(bool visible);
bool findText(const QString &text, Core::FindFlags flags,
bool incremental, bool fromSearch, bool *wrapped = 0);
bool incremental, bool fromSearch, bool *wrapped = nullptr);
MacWebKitHelpWidget *widget() const { return m_widget; }