forked from qt-creator/qt-creator
Help: Use nullptr and fix a few warnings
Change-Id: I7f7307a765d8755bf96b0cad1210e61df0a0199f Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user