diff options
Diffstat (limited to 'x11/kdebase4/patches/patch-aa')
-rw-r--r-- | x11/kdebase4/patches/patch-aa | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/x11/kdebase4/patches/patch-aa b/x11/kdebase4/patches/patch-aa new file mode 100644 index 00000000000..fb0b6f5265a --- /dev/null +++ b/x11/kdebase4/patches/patch-aa @@ -0,0 +1,30 @@ +$NetBSD: patch-aa,v 1.1 2009/10/11 08:13:40 markd Exp $ + +KDE svn 1032180 + +--- apps/dolphin/src/panels/terminal/terminalpanel.cpp.orig 2009-08-27 20:17:51.000000000 +1200 ++++ apps/dolphin/src/panels/terminal/terminalpanel.cpp +@@ -23,7 +23,6 @@ + #include <kde_terminal_interface_v2.h> + #include <kparts/part.h> + #include <kshell.h> +-#include <kio/netaccess.h> + + #include <QBoxLayout> + #include <QShowEvent> +@@ -58,13 +57,12 @@ void TerminalPanel::setUrl(const KUrl& u + } + + Panel::setUrl(url); +- KUrl mostLocalUrl = KIO::NetAccess::mostLocalUrl(url, 0); + const bool sendInput = (m_terminal != 0) + && (m_terminal->foregroundProcessId() == -1) + && isVisible() +- && mostLocalUrl.isLocalFile(); ++ && url.isLocalFile(); + if (sendInput) { +- m_terminal->sendInput("cd " + KShell::quoteArg(mostLocalUrl.toLocalFile()) + '\n'); ++ m_terminal->sendInput("cd " + KShell::quoteArg(url.toLocalFile()) + '\n'); + } + + } |