diff options
| author | Christian Ehrlicher <[email protected]> | 2009-03-15 20:20:33 +0000 |
|---|---|---|
| committer | Christian Ehrlicher <[email protected]> | 2009-03-15 20:20:33 +0000 |
| commit | af49caa18e3930dc7115f56c402f6d27e2c42ef4 (patch) | |
| tree | 80d23c085b24991228291f68a3f71b73e476e0ec /src | |
| parent | 88a6794501a75a8e672af933a03ea96885c12641 (diff) | |
a lot of more KUrl::path() -> KUrl::toLocalFile() changes (mostly after a check for KUrl::isLocalFile())
svn path=/trunk/KDE/kdebase/apps/; revision=939835
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinpart.cpp | 2 | ||||
| -rw-r--r-- | src/panels/terminal/terminalpanel.cpp | 2 | ||||
| -rw-r--r-- | src/statusbarspaceinfo.cpp | 2 |
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; } |
