aboutsummaryrefslogtreecommitdiff
path: root/src/gui/kstandardshortcut.cpp
diff options
context:
space:
mode:
authorKevin Funk <kfunk@kde.org>2017-01-16 09:44:17 +0100
committerKevin Funk <kfunk@kde.org>2017-01-16 09:44:17 +0100
commitf83b4b191d627b010192e0715536cb57c25519fb (patch)
tree411f9ae566f1a6ca7cd87e769d782842f29ff72e /src/gui/kstandardshortcut.cpp
parentf7ef172c32a7e17e5e3b24cafa5da1e95502b9e4 (diff)
downloadkconfig-f83b4b191d627b010192e0715536cb57c25519fb.tar.gz
kconfig-f83b4b191d627b010192e0715536cb57c25519fb.tar.bz2
Use nullptr everywhere
Differential Revision: https://phabricator.kde.org/D3987
Diffstat (limited to 'src/gui/kstandardshortcut.cpp')
-rw-r--r--src/gui/kstandardshortcut.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kstandardshortcut.cpp b/src/gui/kstandardshortcut.cpp
index 92eb0913..9e7b1cfc 100644
--- a/src/gui/kstandardshortcut.cpp
+++ b/src/gui/kstandardshortcut.cpp
@@ -69,7 +69,7 @@ struct KStandardShortcutInfo {
// Read the comments of the big enum in kstandardshortcut.h before you change anything!
static KStandardShortcutInfo g_infoStandardShortcut[] = {
//Group File,
- { AccelNone, 0, {0, 0}, 0, 0, QList<QKeySequence>(), false },
+ { AccelNone, nullptr, {nullptr, nullptr}, 0, 0, QList<QKeySequence>(), false },
{ Open, "Open", QT_TRANSLATE_NOOP3("KStandardShortcut", "Open", "@action"), CTRL(O), 0, QList<QKeySequence>(), false },
{ New, "New", QT_TRANSLATE_NOOP3("KStandardShortcut", "New", "@action"), CTRL(N), 0, QList<QKeySequence>(), false },
{ Close, "Close", QT_TRANSLATE_NOOP3("KStandardShortcut", "Close", "@action"), CTRL(W), CTRL(Escape), QList<QKeySequence>(), false },
@@ -170,7 +170,7 @@ static KStandardShortcutInfo g_infoStandardShortcut[] = {
{ Donate, "Donate", QT_TRANSLATE_NOOP3("KStandardShortcut", "Donate", "@action"), 0, 0, QList<QKeySequence>(), false },
//dummy entry to catch simple off-by-one errors. Insert new entries before this line.
- { AccelNone, 0, {0, 0}, 0, 0, QList<QKeySequence>(), false }
+ { AccelNone, nullptr, {nullptr, nullptr}, 0, 0, QList<QKeySequence>(), false }
};
/** Search for the KStandardShortcutInfo object associated with the given @p id.