┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dolphinpart.cpp2
-rw-r--r--src/panels/terminal/terminalpanel.cpp2
-rw-r--r--src/statusbarspaceinfo.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp
index c5d85a3cc..071dce7df 100644
--- a/src/dolphinpart.cpp
+++ b/src/dolphinpart.cpp
@@ -508,7 +508,7 @@ void DolphinPart::slotOpenTerminal()
//If the URL is local after the above conversion, set the directory.
if (u.isLocalFile()) {
- dir = u.path();
+ dir = u.toLocalFile();
}
KToolInvocation::invokeTerminal(QString(), dir);
diff --git a/src/panels/terminal/terminalpanel.cpp b/src/panels/terminal/terminalpanel.cpp
index cc3b85318..593015147 100644
--- a/src/panels/terminal/terminalpanel.cpp
+++ b/src/panels/terminal/terminalpanel.cpp
@@ -56,7 +56,7 @@ void TerminalPanel::setUrl(const KUrl& url)
Panel::setUrl(url);
if ((m_terminal != 0) && isVisible() && url.isLocalFile()) {
- m_terminal->sendInput("cd " + KShell::quoteArg(url.path()) + '\n');
+ m_terminal->sendInput("cd " + KShell::quoteArg(url.toLocalFile()) + '\n');
}
}
diff --git a/src/statusbarspaceinfo.cpp b/src/statusbarspaceinfo.cpp
index 33017f02b..c9173b8f9 100644
--- a/src/statusbarspaceinfo.cpp
+++ b/src/statusbarspaceinfo.cpp
@@ -81,7 +81,7 @@ void StatusBarSpaceInfo::refresh()
return;
}
- KMountPoint::Ptr mp = KMountPoint::currentMountPoints().findByPath(m_url.path());
+ KMountPoint::Ptr mp = KMountPoint::currentMountPoints().findByPath(m_url.toLocalFile());
if (!mp) {
return;
}