Commit 48fec6c9 authored by Alexander Lohnau's avatar Alexander Lohnau 💬 Committed by Elvis Angelaccio
Browse files

Add 'Open Terminal Here' action from dolphin to menu

parent f46e630d
......@@ -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)
......
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment