diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-04-19 10:47:13 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-04-19 12:07:59 +0000 |
commit | da18fc1f50e07d4bec6f32c0ccf5f08ea10fb634 (patch) | |
tree | b0c8d37fcfa736b591ebe95d046ce66b35e9a486 /src/plugins/help/helpplugin.cpp | |
parent | 0e81d01b2a1d02fe1a4313716be232cf9f918f05 (diff) | |
download | qt-creator-da18fc1f50e07d4bec6f32c0ccf5f08ea10fb634.tar.gz |
Help: Use nullptr and fix a few warnings
Change-Id: I7f7307a765d8755bf96b0cad1210e61df0a0199f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/help/helpplugin.cpp')
-rw-r--r-- | src/plugins/help/helpplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp index 091a845686..7afa1ca1e8 100644 --- a/src/plugins/help/helpplugin.cpp +++ b/src/plugins/help/helpplugin.cpp @@ -740,7 +740,7 @@ void HelpPluginPrivate::handleHelpRequest(const QUrl &url, HelpManager::HelpView class DialogClosingOnEscape : public QDialog { public: - DialogClosingOnEscape(QWidget *parent = 0) : QDialog(parent) {} + DialogClosingOnEscape(QWidget *parent = nullptr) : QDialog(parent) {} bool event(QEvent *event) { if (event->type() == QEvent::ShortcutOverride) { |