diff options
| author | Nate Graham <[email protected]> | 2020-11-17 09:40:05 -0700 |
|---|---|---|
| committer | Nate Graham <[email protected]> | 2020-11-17 09:40:05 -0700 |
| commit | e636bae43e85aa4bf0a071d5fb06db9920729b9f (patch) | |
| tree | d462677ee3bf51fe5db69312974210dbcc940df9 /src | |
| parent | edced8460bb19bfdce54cb819a3119b637463494 (diff) | |
Correct indentation and whitespace in prior commit
Diffstat (limited to 'src')
| -rw-r--r-- | src/views/dolphinviewactionhandler.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/views/dolphinviewactionhandler.cpp b/src/views/dolphinviewactionhandler.cpp index af1055129..2c3515062 100644 --- a/src/views/dolphinviewactionhandler.cpp +++ b/src/views/dolphinviewactionhandler.cpp @@ -78,12 +78,12 @@ 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"))); +#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); |
