mirror of
https://github.com/zealdocs/zeal.git
synced 2024-11-23 14:26:12 +03:00
ui: Fix Preferences shortcut (#891)
This commit is contained in:
parent
bae9a49b0d
commit
249e9a91a3
@ -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]() {
|
||||
|
Loading…
Reference in New Issue
Block a user