diff options
| author | Laurent Montel <[email protected]> | 2020-12-09 07:55:44 +0100 |
|---|---|---|
| committer | Laurent Montel <[email protected]> | 2020-12-09 07:55:44 +0100 |
| commit | d2f044b32d34023fbf4755b95dcafe71ed00b55f (patch) | |
| tree | fbed81194ab35a845ebde19d9a93b80a2ebb3393 /src/settings | |
| parent | ce3c2435250f5eb8a3c9322359b25c46d2b6fb96 (diff) | |
operator+/- is disabled for QFlags in qt6
Diffstat (limited to 'src/settings')
| -rw-r--r-- | src/settings/general/configurepreviewplugindialog.cpp | 2 | ||||
| -rw-r--r-- | src/settings/viewpropertiesdialog.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/settings/general/configurepreviewplugindialog.cpp b/src/settings/general/configurepreviewplugindialog.cpp index 4d7ee589a..26b7deb88 100644 --- a/src/settings/general/configurepreviewplugindialog.cpp +++ b/src/settings/general/configurepreviewplugindialog.cpp @@ -64,6 +64,6 @@ ConfigurePreviewPluginDialog::ConfigurePreviewPluginDialog(const QString& plugin layout->addWidget(buttonBox); auto okButton = buttonBox->button(QDialogButtonBox::Ok); - okButton->setShortcut(Qt::CTRL + Qt::Key_Return); + okButton->setShortcut(Qt::CTRL | Qt::Key_Return); okButton->setDefault(true); } diff --git a/src/settings/viewpropertiesdialog.cpp b/src/settings/viewpropertiesdialog.cpp index 2bf317440..82d182d1d 100644 --- a/src/settings/viewpropertiesdialog.cpp +++ b/src/settings/viewpropertiesdialog.cpp @@ -209,7 +209,7 @@ ViewPropertiesDialog::ViewPropertiesDialog(DolphinView* dolphinView) : layout->addWidget(buttonBox); auto okButton = buttonBox->button(QDialogButtonBox::Ok); - okButton->setShortcut(Qt::CTRL + Qt::Key_Return); + okButton->setShortcut(Qt::CTRL | Qt::Key_Return); okButton->setDefault(true); auto applyButton = buttonBox->button(QDialogButtonBox::Apply); |
