From eb6666e4393a945e32b4c38e49b10944973f29bd Mon Sep 17 00:00:00 2001 From: Milian Wolff Date: Thu, 2 Jul 2015 23:46:13 +0200 Subject: Remove compiler warning about initialization of sub object. --- 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 84007374..6be6309d 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, 0, {0, 0}, 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 }, @@ -166,7 +166,7 @@ static KStandardShortcutInfo g_infoStandardShortcut[] = { { AboutKDE, "AboutKDE", QT_TRANSLATE_NOOP3("KStandardShortcut", "About KDE", "@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, 0, {0, 0}, 0, 0, QList(), false } }; /** Search for the KStandardShortcutInfo object associated with the given @p id. -- cgit v1.2.1