ui: Shortcut for Preferences on Linux/Windows

This commit is contained in:
Andreas Stallinger
2016-07-28 14:12:09 +02:00
parent 2672299a58
commit acaf58c3f8
2 changed files with 9 additions and 4 deletions
+7 -2
View File
@@ -576,7 +576,12 @@ void QtMainWindow::setupEditMenu()
}
else
{
menu->addAction(tr("&Force Refresh"), this, SLOT(forceRefresh()), QKeySequence(Qt::SHIFT + Qt::CTRL + Qt::Key_R));
menu->addAction(
tr("&Force Refresh"),
this,
SLOT(forceRefresh()),
QKeySequence(Qt::SHIFT + Qt::CTRL + Qt::Key_R)
);
}
}
@@ -591,7 +596,7 @@ void QtMainWindow::setupEditMenu()
menu->addSeparator();
menu->addAction(tr("Preferences..."), this, SLOT(openSettings()));
menu->addAction(tr("Preferences..."), this, SLOT(openSettings()), QKeySequence(Qt::CTRL + Qt::Key_Comma));
}
void QtMainWindow::setupViewMenu()
+2 -2
View File
@@ -1046,9 +1046,9 @@
<tbody>
<tr>
<th scope="row">Preferences</th>
<td></td>
<td><kbd>Ctrl + ,</kbd></td>
<td><kbd>Cmd + ,</kbd></td>
<td></td>
<td><kbd>Ctrl + ,</kbd></td>
</tr>
<tr>
<th scope="row">New Project</th>