diff options
| author | Elvis Angelaccio <[email protected]> | 2018-10-24 22:49:01 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2018-10-24 22:49:01 +0200 |
| commit | 642a427d03c0bf42fd45dac877a70d4fe56e89aa (patch) | |
| tree | 40f28a8c28d4f09e9a5e4ac2df5670473a09a8e6 /src/views | |
| parent | d575e1e88409d819fb92456e8022e8e0322549af (diff) | |
[DolphinViewActionHandler] Rename createDirectory signal
Signals should be named after an event that happened.
Diffstat (limited to 'src/views')
| -rw-r--r-- | src/views/dolphinviewactionhandler.cpp | 2 | ||||
| -rw-r--r-- | src/views/dolphinviewactionhandler.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/views/dolphinviewactionhandler.cpp b/src/views/dolphinviewactionhandler.cpp index 95c140cc5..5697c7f41 100644 --- a/src/views/dolphinviewactionhandler.cpp +++ b/src/views/dolphinviewactionhandler.cpp @@ -95,7 +95,7 @@ void DolphinViewActionHandler::createActions() m_actionCollection->setDefaultShortcut(newDirAction, Qt::Key_F10); 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::createDirectory); + connect(newDirAction, &QAction::triggered, this, &DolphinViewActionHandler::createDirectoryTriggered); // File menu diff --git a/src/views/dolphinviewactionhandler.h b/src/views/dolphinviewactionhandler.h index be2273917..fa0487e1b 100644 --- a/src/views/dolphinviewactionhandler.h +++ b/src/views/dolphinviewactionhandler.h @@ -93,7 +93,7 @@ Q_SIGNALS: * The receiver of the signal (DolphinMainWindow or DolphinPart) invokes * the method createDirectory of their KNewFileMenu instance. */ - void createDirectory(); + void createDirectoryTriggered(); private Q_SLOTS: /** |
