summaryrefslogtreecommitdiffstats
path: root/kate/part/katedocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/part/katedocument.cpp')
-rw-r--r--kate/part/katedocument.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kate/part/katedocument.cpp b/kate/part/katedocument.cpp
index 603388479..b264e6533 100644
--- a/kate/part/katedocument.cpp
+++ b/kate/part/katedocument.cpp
@@ -1955,7 +1955,7 @@ void KateDocument::readSessionConfig(KConfig *kconfig)
void KateDocument::writeSessionConfig(KConfig *kconfig)
{
- if ( m_url.isLocalFile() && !KGlobal::dirs()->relativeLocation("tmp", m_url.path()).startsWith("/"))
+ if ( m_url.isLocalFile() && !TDEGlobal::dirs()->relativeLocation("tmp", m_url.path()).startsWith("/"))
return;
// save url
kconfig->writeEntry("URL", m_url.prettyURL() );