mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: don't add QKeySequence values
These should be handled as logical OR operations as they are bits. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9b3a9904b2
commit
df610752c7
10 changed files with 31 additions and 31 deletions
|
@ -37,9 +37,9 @@ DiveLogExportDialog::DiveLogExportDialog(QWidget *parent) : QDialog(parent),
|
|||
{
|
||||
ui->setupUi(this);
|
||||
showExplanation();
|
||||
QShortcut *quit = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_Q), this);
|
||||
QShortcut *quit = new QShortcut(QKeySequence(Qt::CTRL | Qt::Key_Q), this);
|
||||
connect(quit, SIGNAL(activated()), MainWindow::instance(), SLOT(close()));
|
||||
QShortcut *close = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_W), this);
|
||||
QShortcut *close = new QShortcut(QKeySequence(Qt::CTRL | Qt::Key_W), this);
|
||||
connect(close, SIGNAL(activated()), this, SLOT(close()));
|
||||
|
||||
/* the names are not the actual values exported to the json files,The font-family property should hold several
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue