updated 0 to nullptr

This commit is contained in:
Skycoder42
2016-11-01 16:28:53 +01:00
parent fb0c65f614
commit 49da8b1c5c
+3 -3
View File
@@ -22,11 +22,11 @@ public:
typedef QPair<quint32, quint32> NativeShortcut; typedef QPair<quint32, quint32> NativeShortcut;
//! Constructor //! Constructor
explicit QHotkey(QObject *parent = 0); explicit QHotkey(QObject *parent = Q_NULLPTR);
//! Constructs a hotkey with a shortcut and optionally registers it //! 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 //! 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 //! Destructor
~QHotkey(); ~QHotkey();