┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-05-15 21:03:35 +0000
committerPeter Penz <[email protected]>2007-05-15 21:03:35 +0000
commit016a3f91012ea9229bd1a28c576cfee78774e4d8 (patch)
tree41dc7288b8f7292eef55b3c3634ecd8354bda374
parent91f03ab07b894ef37864c9c5a1552b48b38f40ee (diff)
use the terminal interface correctly -> the path of the embedded konsole is synchronized with the current directory
svn path=/trunk/KDE/kdebase/apps/; revision=665104
-rw-r--r--src/terminalsidebarpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminalsidebarpage.cpp b/src/terminalsidebarpage.cpp
index 287f7d79d..341b637bd 100644
--- a/src/terminalsidebarpage.cpp
+++ b/src/terminalsidebarpage.cpp
@@ -43,7 +43,7 @@ void TerminalSidebarPage::setUrl(const KUrl& url)
if (!SidebarPage::url().equals(url, KUrl::CompareWithoutTrailingSlash)) {
SidebarPage::setUrl(url);
if ((m_terminal != 0) && isVisible()) {
- m_terminal->showShellInDir(url.path());
+ m_terminal->sendInput("cd " + url.path() + '\n');
}
}
}