From f83b4b191d627b010192e0715536cb57c25519fb Mon Sep 17 00:00:00 2001 From: Kevin Funk Date: Mon, 16 Jan 2017 09:44:17 +0100 Subject: Use nullptr everywhere Differential Revision: https://phabricator.kde.org/D3987 --- src/gui/kstandardshortcut.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/kstandardshortcut.cpp') 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(), false }, + { AccelNone, nullptr, {nullptr, nullptr}, 0, 0, QList(), false }, { Open, "Open", QT_TRANSLATE_NOOP3("KStandardShortcut", "Open", "@action"), CTRL(O), 0, QList(), false }, { New, "New", QT_TRANSLATE_NOOP3("KStandardShortcut", "New", "@action"), CTRL(N), 0, QList(), false }, { Close, "Close", QT_TRANSLATE_NOOP3("KStandardShortcut", "Close", "@action"), CTRL(W), CTRL(Escape), QList(), false }, @@ -170,7 +170,7 @@ static KStandardShortcutInfo g_infoStandardShortcut[] = { { Donate, "Donate", QT_TRANSLATE_NOOP3("KStandardShortcut", "Donate", "@action"), 0, 0, QList(), false }, //dummy entry to catch simple off-by-one errors. Insert new entries before this line. - { AccelNone, 0, {0, 0}, 0, 0, QList(), false } + { AccelNone, nullptr, {nullptr, nullptr}, 0, 0, QList(), false } }; /** Search for the KStandardShortcutInfo object associated with the given @p id. -- cgit v1.2.1