From 603ec47b8b1221c8fdf5ff2eaaae0a6a9fcc4880 Mon Sep 17 00:00:00 2001 From: Sebastian Dörner Date: Wed, 25 May 2011 22:14:14 +0100 Subject: Don't let hidden terminals prevent unmounting Previous state: When the terminal is hidden, the cwd is not updated anymore. If it was on a removable device when hiding, the hidden terminal might prevent unmounting this device. This patch fixes that bug by changing the cwd to "/" when hiding the panel. REVIEW: 101387 BUG: 158264 FIXED-IN: 4.7.0 --- src/panels/terminal/terminalpanel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/panels/terminal/terminalpanel.h') diff --git a/src/panels/terminal/terminalpanel.h b/src/panels/terminal/terminalpanel.h index e4d76d54c..288cb05d3 100644 --- a/src/panels/terminal/terminalpanel.h +++ b/src/panels/terminal/terminalpanel.h @@ -44,6 +44,7 @@ public: public slots: void terminalExited(); + void visibilityChanged(bool visible); signals: void hideTerminalPanel(); -- cgit v1.3