aboutsummaryrefslogtreecommitdiff
path: root/src/gui/kstandardshortcut.cpp
diff options
context:
space:
mode:
authorMilian Wolff <mail@milianw.de>2015-07-02 23:46:13 +0200
committerMilian Wolff <mail@milianw.de>2015-07-02 23:46:13 +0200
commiteb6666e4393a945e32b4c38e49b10944973f29bd (patch)
treee1d8ea662907df85ec0acf006beebb99c91b2a34 /src/gui/kstandardshortcut.cpp
parente33595febbe8037d3d4e2b6dd7c564c3257d5afb (diff)
downloadkconfig-eb6666e4393a945e32b4c38e49b10944973f29bd.tar.gz
kconfig-eb6666e4393a945e32b4c38e49b10944973f29bd.tar.bz2
Remove compiler warning about initialization of sub object.
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 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<QKeySequence>(), false },
+ { AccelNone, 0, {0, 0}, 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 },
@@ -166,7 +166,7 @@ static KStandardShortcutInfo g_infoStandardShortcut[] = {
{ AboutKDE, "AboutKDE", QT_TRANSLATE_NOOP3("KStandardShortcut", "About KDE", "@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, 0, {0, 0}, 0, 0, QList<QKeySequence>(), false }
};
/** Search for the KStandardShortcutInfo object associated with the given @p id.