From 07baa7bb68d3d3c8ed1f564ea42efa80684b3a23 Mon Sep 17 00:00:00 2001 From: Antti Savolainen Date: Mon, 20 Apr 2026 09:48:28 +0000 Subject: terminalpanel: allow refreshing the terminal location When a program is running on front while the graphical view is being changed, that can make the terminal and file view working directories out of sync. I wasn't able to find a signal from Konsole for when the foreground program exits, so having the terminal respond to F5 is the second best thing. BUG: 510557 --- src/panels/panel.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/panels/panel.h') diff --git a/src/panels/panel.h b/src/panels/panel.h index 5f1fabb4a..23136a4b9 100644 --- a/src/panels/panel.h +++ b/src/panels/panel.h @@ -45,6 +45,12 @@ public Q_SLOTS: */ void setUrl(const QUrl &url); + /** + * This is invoked whenever the folder being displayed in the + * active Dolphin view is refreshed. + */ + void refreshUrl(const QUrl &url); + /** * Refreshes the view to get synchronized with the settings. */ -- cgit v1.3