aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/kstandardshortcut.cpp1
-rw-r--r--src/gui/kstandardshortcut.h2
2 files changed, 3 insertions, 0 deletions
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<QKeySequence>(), false },
{ RenameFile, "RenameFile", QT_TRANSLATE_NOOP3("KStandardShortcut", "Rename File", "@action"), Qt::Key_F2, 0, QList<QKeySequence>(), false },
{ MoveToTrash, "MoveToTrash", QT_TRANSLATE_NOOP3("KStandardShortcut", "Move to Trash", "@action"), Qt::Key_Delete, 0, QList<QKeySequence>(), false },
+ { 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 }
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