From 49da8b1c5c68b9d4e255dd6e4e37fb26c3edbf23 Mon Sep 17 00:00:00 2001 From: Skycoder42 Date: Tue, 1 Nov 2016 16:28:53 +0100 Subject: [PATCH] updated 0 to nullptr --- QHotkey/qhotkey.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/QHotkey/qhotkey.h b/QHotkey/qhotkey.h index 3f92d77..b55f691 100644 --- a/QHotkey/qhotkey.h +++ b/QHotkey/qhotkey.h @@ -22,11 +22,11 @@ public: typedef QPair NativeShortcut; //! Constructor - explicit QHotkey(QObject *parent = 0); + explicit QHotkey(QObject *parent = Q_NULLPTR); //! Constructs a hotkey with a shortcut and optionally registers it - explicit QHotkey(const QKeySequence &shortcut, bool autoRegister = false, QObject *parent = 0); + explicit QHotkey(const QKeySequence &shortcut, bool autoRegister = false, QObject *parent = Q_NULLPTR); //! Constructs a hotkey with a key and modifiers and optionally registers it - explicit QHotkey(Qt::Key key, Qt::KeyboardModifiers modifiers, bool autoRegister = false, QObject *parent = 0); + explicit QHotkey(Qt::Key key, Qt::KeyboardModifiers modifiers, bool autoRegister = false, QObject *parent = Q_NULLPTR); //! Destructor ~QHotkey();