]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/general/configurepreviewplugindialog.cpp
Modernize the syntax of shortcuts
[dolphin.git] / src / settings / general / configurepreviewplugindialog.cpp
index f0ac549848c1fff746d0b87646d81d3b0a028d5e..6297187056c8e8337ee2d7aa7fd538e802e21325 100644 (file)
@@ -79,6 +79,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);
 }