summaryrefslogtreecommitdiffstats
path: root/kate/app/katemainwindow.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2024-05-26 13:13:07 +0300
committerMavridis Philippe <[email protected]>2024-06-02 15:30:52 +0300
commit0ce7b62e9e7a28ed4da7e6fb829bd5ded214bda9 (patch)
treea6cc076a16f31fd1408b75e5f0b697fed6fa3814 /kate/app/katemainwindow.cpp
parentb82c8a3f42468101be9518a4f08e0aa5a651b66f (diff)
downloadtdebase-0ce7b62e9e7a28ed4da7e6fb829bd5ded214bda9.tar.gz
tdebase-0ce7b62e9e7a28ed4da7e6fb829bd5ded214bda9.zip
Kate: use paths for local files instead of file:/// URLs.
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'kate/app/katemainwindow.cpp')
-rw-r--r--kate/app/katemainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kate/app/katemainwindow.cpp b/kate/app/katemainwindow.cpp
index d432d49d4..00f01dfe6 100644
--- a/kate/app/katemainwindow.cpp
+++ b/kate/app/katemainwindow.cpp
@@ -851,7 +851,7 @@ void KateMainWindow::updateCaption(Kate::Document *doc)
}
else
{
- c = m_viewManager->activeView()->getDoc()->url().prettyURL();
+ c = m_viewManager->activeView()->getDoc()->url().pathOrURL();
}
if (showSessionName)