diff options
| author | Rafael Fernández López <[email protected]> | 2007-12-19 01:35:09 +0000 |
|---|---|---|
| committer | Rafael Fernández López <[email protected]> | 2007-12-19 01:35:09 +0000 |
| commit | 73fbb1a3d1b32562ac9b217f7bf437b0366c49aa (patch) | |
| tree | e30db51ad20507714b2be7ed4472d72547710bf7 /src/dolphinmainwindow.cpp | |
| parent | 603681ba79d6fc313c8e3152249d63cdcbdb2c89 (diff) | |
Now the konsole part is autodestructed when no tabs do exist. This makes the desired effect on dolphin when typing "exit" on the terminal, the dock will be hidden.
BUG: 153648
svn path=/trunk/KDE/kdebase/apps/; revision=750276
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 acd1282a2..6eb45ac0d 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1274,6 +1274,8 @@ void DolphinMainWindow::setupDockWidgets() SidebarPage* terminalWidget = new TerminalSidebarPage(terminalDock); terminalDock->setWidget(terminalWidget); + connect(terminalWidget, SIGNAL(hideTerminalSidebarPage()), terminalDock, SLOT(hide())); + terminalDock->toggleViewAction()->setText(i18nc("@title:window", "Terminal")); terminalDock->toggleViewAction()->setShortcut(Qt::Key_F4); actionCollection()->addAction("show_terminal_panel", terminalDock->toggleViewAction()); |
