kglobalaccel: remove unused variable

no idea what those bits were supposed to do

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-08-24 17:52:39 +03:00
parent f52abcc81d
commit 5530bc18f3

View file

@ -181,10 +181,6 @@ bool GlobalShortcutsRegistry::keyPressed(int keyQt)
kDebug() << QKeySequence(keyQt).toString() << "=" << shortcut->uniqueName();
QStringList data(shortcut->context()->component()->uniqueName());
data.append(shortcut->uniqueName());
data.append(shortcut->context()->component()->friendlyName());
data.append(shortcut->friendlyName());
#ifdef Q_WS_X11
// Make sure kglobalacceld has ungrabbed the keyboard after receiving the
// keypress, otherwise actions in application that try to grab the