diff options
| author | Alexander Lohnau <[email protected]> | 2020-11-22 08:42:18 +0100 |
|---|---|---|
| committer | Alexander Lohnau <[email protected]> | 2020-11-22 08:42:18 +0100 |
| commit | 3b74e4a3ab99db0a6f2287e16b07bd2746217085 (patch) | |
| tree | 3604783aff01d5ca7bc03c16315c5223972f7cca /src/views | |
| parent | 48fec6c9ec6f55f91d115e8f5cf37f00326c470e (diff) | |
Remove unneeded version check
Diffstat (limited to 'src/views')
| -rw-r--r-- | src/views/dolphinviewactionhandler.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/views/dolphinviewactionhandler.cpp b/src/views/dolphinviewactionhandler.cpp index fef236a78..610b768c1 100644 --- a/src/views/dolphinviewactionhandler.cpp +++ b/src/views/dolphinviewactionhandler.cpp @@ -79,11 +79,7 @@ void DolphinViewActionHandler::createActions() // KNewFileMenu takes care of the GUI stuff. QAction* newDirAction = m_actionCollection->addAction(QStringLiteral("create_dir")); newDirAction->setText(i18nc("@action", "Create Folder...")); -#if KCONFIG_VERSION >= QT_VERSION_CHECK(5, 74, 0) m_actionCollection->setDefaultShortcuts(newDirAction, KStandardShortcut::createFolder()); -#else - m_actionCollection->setDefaultShortcut(newDirAction, Qt::Key_F10); -#endif newDirAction->setIcon(QIcon::fromTheme(QStringLiteral("folder-new"))); newDirAction->setEnabled(false); // Will be enabled in slotWriteStateChanged(bool) if the current URL is writable connect(newDirAction, &QAction::triggered, this, &DolphinViewActionHandler::createDirectoryTriggered); |
