From 9b5f56980bc4d2f399a6b828c94b23f3626c9d21 Mon Sep 17 00:00:00 2001 From: oioi 555 Date: Mon, 2 May 2022 20:25:24 +0000 Subject: Re-add "Open Terminal Here" feature This is equivalent to the "Open Terminal Here" feature that existed until Version 20.12. If the user has selected folders, replace "Open Terminal" in the context menu with "Open Terminal Here". When more than 5 folders are selected, a modal window will ask the user if they are sure they want to open all 6 or more terminal windows. In Detail View, users can also select a file, which will open a terminal at the location of that file. BUG: 452637 FIXED-IN: 22.08 --- src/dolphinmainwindow.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 17327f2de..6e775c5cc 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -399,6 +399,12 @@ private Q_SLOTS: /** Opens a terminal window for the current location. */ void openTerminal(); + /** Opens terminal windows for the selected items' locations. */ + void openTerminalHere(); + + /** Opens a terminal window for the URL. */ + void openTerminalJob(const QUrl& url); + /** Focus a Terminal Panel. */ void focusTerminalPanel(); -- cgit v1.3