[games/lskat] /: Drop F10 as key for selecting the card deck
Friedrich W. H. Kossebau
null at kde.org
Thu Oct 19 01:03:13 BST 2023
Git commit 6cc41033bd1cce0d9f518e270e8b8be09359772f by Friedrich W. H. Kossebau.
Committed on 19/10/2023 at 01:17.
Pushed by kossebau into branch 'master'.
Drop F10 as key for selecting the card deck
M +0 -3 doc/index.docbook
M +0 -1 src/mainwindow.cpp
https://invent.kde.org/games/lskat/-/commit/6cc41033bd1cce0d9f518e270e8b8be09359772f
diff --git a/doc/index.docbook b/doc/index.docbook
index ed53785..97edaa9 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -343,9 +343,6 @@ of the cards. Card decks are selected with their own menu item.
<varlistentry id="deck_change">
<term><menuchoice>
-<shortcut>
-<keycap>F10</keycap>
-</shortcut>
<guimenu>Settings</guimenu>
<guimenuitem>Select Card Deck...</guimenuitem></menuchoice></term>
<listitem><para>
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 44ff45d..f284c77 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -420,7 +420,6 @@ void Mainwindow::initGUI()
// Choose card deck
QAction *action1 = actionCollection()->addAction(QStringLiteral("select_carddeck"));
action1->setText(i18n("Select &Card Deck..."));
- KActionCollection::setDefaultShortcut(action1, QKeySequence(Qt::Key_F10));
connect(action1, &QAction::triggered, this, &Mainwindow::menuCardDeck);
action1->setToolTip(i18n("Configure card decks..."));
action1->setWhatsThis(i18n("Choose how the cards should look."));
More information about the kde-doc-english
mailing list