From: Akseli Lahtinen Date: Thu, 19 Jun 2025 17:46:12 +0000 (+0300) Subject: [PATCH] Klipper: Remove local Configure Klipper action X-Git-Tag: archive/raspbian/4%6.3.6-2+rpi1^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=627546dd05718986064df7f412b89905f40d03e1;p=plasma-workspace.git [PATCH] Klipper: Remove local Configure Klipper action This action would cause the shortcuts configuration menu to show both local and global shortcuts, which makes no sense due to Klipper being a globally accessed application. This action is only used in cases where Klipper will be it's own application with a normal window, similar to applications like Dolphin, Kate, etc.. But Klipper is never used this way. Currently only place where you can use this action is the configuration menu itself, where it does nothing, since the menu is already open. So let's just remove it. This also makes sure users do not accidentally select "Shortcut/Alternate" instead of "Global Shortcut/Alternate" for their shortcuts. See the related bug for context. BUG: 501632 FIXED-IN: 6.4.1 (cherry picked from commit 1d3fe2ac0c0e640f0b66ec1e1d34f0e0196bbd7d) Co-authored-by: Akseli Lahtinen Gbp-Pq: Name upstream_d286dce3_Klipper-Remove-local-Configure-Klipper-action.patch --- diff --git a/klipper/klipper.cpp b/klipper/klipper.cpp index 9f0db51c..9a4388e4 100644 --- a/klipper/klipper.cpp +++ b/klipper/klipper.cpp @@ -111,12 +111,6 @@ Klipper::Klipper(QObject *parent) KGlobalAccel::setGlobalShortcut(m_clearHistoryAction, QKeySequence()); connect(m_clearHistoryAction, &QAction::triggered, m_historyModel.get(), &HistoryModel::clearHistory); - QString CONFIGURE = QStringLiteral("configure"); - m_configureAction = m_collection->addAction(CONFIGURE); - m_configureAction->setIcon(QIcon::fromTheme(CONFIGURE)); - m_configureAction->setText(i18nc("@action:inmenu", "&Configure Klipper…")); - connect(m_configureAction, &QAction::triggered, this, &Klipper::slotConfigure); - m_repeatAction = m_collection->addAction(QStringLiteral("repeat_action")); m_repeatAction->setText(i18nc("@action:inmenu", "Manually Invoke Action on Current Clipboard")); m_repeatAction->setIcon(QIcon::fromTheme(QStringLiteral("open-menu-symbolic")));