diff options
| author | Roman Inflianskas <[email protected]> | 2018-03-03 11:46:14 +0300 |
|---|---|---|
| committer | Roman Inflianskas <[email protected]> | 2018-03-03 16:44:29 +0300 |
| commit | 32bd8efc7f08a30622deaa3a80b7b26ceaea9f29 (patch) | |
| tree | 958f7e674b515ba07838800ce9624e3be0a63823 /src/settings/general/configurepreviewplugindialog.cpp | |
| parent | 436ad965e93409e2225b3d0451e997fb655b3e87 (diff) | |
Modernize the syntax of shortcuts
Reviewers: #dolphin, markg
Reviewed By: markg
Subscribers: markg, elvisangelaccio, #dolphin
Differential Revision: https://phabricator.kde.org/D10986
Diffstat (limited to 'src/settings/general/configurepreviewplugindialog.cpp')
| -rw-r--r-- | src/settings/general/configurepreviewplugindialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings/general/configurepreviewplugindialog.cpp b/src/settings/general/configurepreviewplugindialog.cpp index f0ac54984..629718705 100644 --- a/src/settings/general/configurepreviewplugindialog.cpp +++ b/src/settings/general/configurepreviewplugindialog.cpp @@ -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); } |
