From 5bce0ae87f68bff036acdc232692967a410a9ef2 Mon Sep 17 00:00:00 2001 From: bastimeyer Date: Fri, 28 Nov 2025 15:13:16 +0100 Subject: [PATCH] GlobalShortcutsBackendKGlobalAccel: Add globalShortcutRepeated signal --- src/globalshortcuts/globalshortcutsbackend-kglobalaccel.cpp | 1 + src/globalshortcuts/org.kde.KGlobalAccel.Component.xml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/src/globalshortcuts/globalshortcutsbackend-kglobalaccel.cpp b/src/globalshortcuts/globalshortcutsbackend-kglobalaccel.cpp index abdc67a7e..31cddb12e 100644 --- a/src/globalshortcuts/globalshortcutsbackend-kglobalaccel.cpp +++ b/src/globalshortcuts/globalshortcutsbackend-kglobalaccel.cpp @@ -120,6 +120,7 @@ void GlobalShortcutsBackendKGlobalAccel::RegisterFinished(QDBusPendingCallWatche } QObject::connect(component_, &org::kde::kglobalaccel::Component::globalShortcutPressed, this, &GlobalShortcutsBackendKGlobalAccel::GlobalShortcutPressed, Qt::UniqueConnection); + QObject::connect(component_, &org::kde::kglobalaccel::Component::globalShortcutRepeated, this, &GlobalShortcutsBackendKGlobalAccel::GlobalShortcutPressed, Qt::UniqueConnection); qLog(Debug) << "Registered."; diff --git a/src/globalshortcuts/org.kde.KGlobalAccel.Component.xml b/src/globalshortcuts/org.kde.KGlobalAccel.Component.xml index 8a785c540..b6a1a7055 100644 --- a/src/globalshortcuts/org.kde.KGlobalAccel.Component.xml +++ b/src/globalshortcuts/org.kde.KGlobalAccel.Component.xml @@ -8,6 +8,11 @@ + + + + +