┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/dolphincontextmenu.cpp6
2 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 96291da51..dc682e2fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@ set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE
project(Dolphin VERSION ${RELEASE_SERVICE_VERSION})
set(QT_MIN_VERSION "5.14.0")
-set(KF5_MIN_VERSION "5.75.0")
+set(KF5_MIN_VERSION "5.77.0")
# ECM setup
find_package(ECM ${KF5_MIN_VERSION} CONFIG REQUIRED)
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp
index 34d3127dc..ed7321fab 100644
--- a/src/dolphincontextmenu.cpp
+++ b/src/dolphincontextmenu.cpp
@@ -341,7 +341,11 @@ void DolphinContextMenu::openViewportContextMenu()
addSeparator();
// Insert service actions
- fileItemActions.addServiceActionsTo(this);
+ QList<QAction *> additionalActions;
+ if (baseUrlProperties.isDirectory() && baseUrlProperties.isLocal()) {
+ additionalActions << m_mainWindow->actionCollection()->action(QStringLiteral("open_terminal"));
+ }
+ fileItemActions.addServiceActionsTo(this, additionalActions);
fileItemActions.addPluginActionsTo(this);
addVersionControlPluginActions();