diff options
| author | Sebastian Dörner <[email protected]> | 2011-05-25 22:14:14 +0100 |
|---|---|---|
| committer | Sebastian Dörner <[email protected]> | 2011-05-25 22:19:11 +0100 |
| commit | 603ec47b8b1221c8fdf5ff2eaaae0a6a9fcc4880 (patch) | |
| tree | 9eecd28b36544585b1b288c987ac29637160ade1 /src/dolphinmainwindow.cpp | |
| parent | f192c0d663c43c7c9cd7babf14c4ffb52c55f7b2 (diff) | |
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
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index f5ac94f40..9324cdb21 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1798,6 +1798,8 @@ void DolphinMainWindow::setupDockWidgets() terminalDock->setWidget(terminalPanel); connect(terminalPanel, SIGNAL(hideTerminalPanel()), terminalDock, SLOT(hide())); + connect(terminalDock, SIGNAL(visibilityChanged(bool)), + terminalPanel, SLOT(visibilityChanged(bool))); QAction* terminalAction = terminalDock->toggleViewAction(); terminalAction->setShortcut(Qt::Key_F4); |
