diff options
author | TheKodeToad <TheKodeToad@proton.me> | 2023-07-06 21:04:21 +0100 |
---|---|---|
committer | TheKodeToad <TheKodeToad@proton.me> | 2023-07-06 21:04:21 +0100 |
commit | 4c25e3ce75158b6a17fafd60849621f5e0338fc9 (patch) | |
tree | 17f61b160d3af54d34ca89117fbbfd4ead8b78d0 /launcher/ui/InstanceWindow.cpp | |
parent | 440dcdf02206e582814f7fdcc58c9b4755d8d3cc (diff) | |
download | PrismLauncher-4c25e3ce75158b6a17fafd60849621f5e0338fc9.tar.gz PrismLauncher-4c25e3ce75158b6a17fafd60849621f5e0338fc9.tar.bz2 PrismLauncher-4c25e3ce75158b6a17fafd60849621f5e0338fc9.zip |
Add keyboard shortcut to Kill action
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher/ui/InstanceWindow.cpp')
-rw-r--r-- | launcher/ui/InstanceWindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher/ui/InstanceWindow.cpp b/launcher/ui/InstanceWindow.cpp index 350b1907..78580bcb 100644 --- a/launcher/ui/InstanceWindow.cpp +++ b/launcher/ui/InstanceWindow.cpp @@ -98,6 +98,7 @@ InstanceWindow::InstanceWindow(InstancePtr instance, QWidget *parent) m_killButton = new QPushButton(this); m_killButton->setText(tr("&Kill")); m_killButton->setToolTip(tr("Kill the running instance")); + m_killButton->setShortcut(QKeySequence(tr("Ctrl+K"))); horizontalLayout->addWidget(m_killButton); connect(m_killButton, &QPushButton::clicked, this, [this] { APPLICATION->kill(m_instance); }); |