ui: Fix Preferences shortcut (#891)

This commit is contained in:
Moritz Nisblé 2018-03-02 17:43:19 +01:00 committed by Oleg Shparber
parent bae9a49b0d
commit 249e9a91a3

View File

@ -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]() {