mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-22 22:40:55 -04:00
Coding style fixes.
This commit is contained in:
parent
2ac659f408
commit
e4bc302d3d
7 changed files with 97 additions and 79 deletions
|
@ -20,7 +20,6 @@
|
|||
#include <QtGui/QDialogButtonBox>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QKeyEvent>
|
||||
#include <QtCore/QDebug>
|
||||
|
||||
DialogyWidget::DialogyWidget(QWidget* parent)
|
||||
: QWidget(parent)
|
||||
|
@ -30,7 +29,7 @@ DialogyWidget::DialogyWidget(QWidget* parent)
|
|||
void DialogyWidget::keyPressEvent(QKeyEvent *e)
|
||||
{
|
||||
#ifdef Q_WS_MAC
|
||||
if(e->modifiers() == Qt::ControlModifier && e->key() == Qt::Key_Period) {
|
||||
if (e->modifiers() == Qt::ControlModifier && e->key() == Qt::Key_Period) {
|
||||
if (!clickButton(QDialogButtonBox::Cancel)) {
|
||||
e->ignore();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue