From: Peter Penz Date: Tue, 15 May 2007 21:03:35 +0000 (+0000) Subject: use the terminal interface correctly -> the path of the embedded konsole is synchroni... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/016a3f91012ea9229bd1a28c576cfee78774e4d8 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 --- 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'); } } }