┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/general
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2020-12-09 07:55:44 +0100
committerLaurent Montel <[email protected]>2020-12-09 07:55:44 +0100
commitd2f044b32d34023fbf4755b95dcafe71ed00b55f (patch)
treefbed81194ab35a845ebde19d9a93b80a2ebb3393 /src/settings/general
parentce3c2435250f5eb8a3c9322359b25c46d2b6fb96 (diff)
operator+/- is disabled for QFlags in qt6
Diffstat (limited to 'src/settings/general')
-rw-r--r--src/settings/general/configurepreviewplugindialog.cpp2
1 files changed, 1 insertions, 1 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);
}