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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user