From 3434b9efd0a8b77d558e4376af38e17d59ded66c Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Sun, 14 Aug 2016 12:10:15 +0200 Subject: Add Donate standard shortcut REVIEW: 128608 CHANGELOG: Add Donate entry to KStandardShortcut --- src/gui/kstandardshortcut.cpp | 1 + src/gui/kstandardshortcut.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/gui/kstandardshortcut.cpp b/src/gui/kstandardshortcut.cpp index 6d749455..92eb0913 100644 --- a/src/gui/kstandardshortcut.cpp +++ b/src/gui/kstandardshortcut.cpp @@ -167,6 +167,7 @@ static KStandardShortcutInfo g_infoStandardShortcut[] = { { DeleteFile, "DeleteFile", QT_TRANSLATE_NOOP3("KStandardShortcut", "Delete File", "@action"), SHIFT(Delete), 0, QList(), false }, { RenameFile, "RenameFile", QT_TRANSLATE_NOOP3("KStandardShortcut", "Rename File", "@action"), Qt::Key_F2, 0, QList(), false }, { MoveToTrash, "MoveToTrash", QT_TRANSLATE_NOOP3("KStandardShortcut", "Move to Trash", "@action"), Qt::Key_Delete, 0, QList(), false }, + { 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 } diff --git a/src/gui/kstandardshortcut.h b/src/gui/kstandardshortcut.h index a5a7c28f..0ff55d1e 100644 --- a/src/gui/kstandardshortcut.h +++ b/src/gui/kstandardshortcut.h @@ -117,6 +117,8 @@ enum StandardShortcut { DeleteFile, // @since 5.25 RenameFile, // @since 5.25 MoveToTrash, // @since 5.25 + + Donate, // @since 5.26 // Insert new items here! StandardShortcutCount // number of standard shortcuts -- cgit v1.2.1