From 249e9a91a30ded82dc1018c3ebb842ce4ace014d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Nisbl=C3=A9?= Date: Fri, 2 Mar 2018 17:43:19 +0100 Subject: [PATCH] ui: Fix Preferences shortcut (#891) --- src/libs/ui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/ui/mainwindow.cpp b/src/libs/ui/mainwindow.cpp index 8ce2db2..9c22e25 100644 --- a/src/libs/ui/mainwindow.cpp +++ b/src/libs/ui/mainwindow.cpp @@ -191,7 +191,7 @@ MainWindow::MainWindow(Core::Application *app, QWidget *parent) : if (QKeySequence(QKeySequence::Preferences).isEmpty()) { ui->actionPreferences->setShortcut(QStringLiteral("Ctrl+,")); } else { - ui->actionPreferences->setShortcut(QKeySequence::Quit); + ui->actionPreferences->setShortcut(QKeySequence::Preferences); } connect(ui->actionPreferences, &QAction::triggered, [this]() {