summaryrefslogtreecommitdiffstats
path: root/tdesu
diff options
context:
space:
mode:
Diffstat (limited to 'tdesu')
-rw-r--r--tdesu/tdesu/tdesu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdesu/tdesu/tdesu.cpp b/tdesu/tdesu/tdesu.cpp
index a91c6936a..65e1efc43 100644
--- a/tdesu/tdesu/tdesu.cpp
+++ b/tdesu/tdesu/tdesu.cpp
@@ -285,10 +285,10 @@ static int startApp()
if (pw->pw_uid)
{
// Only propagate TDEHOME for non-root users,
- // root uses KDEROOTHOME
+ // root uses TDEROOTHOME
// Translate the TDEHOME of this user to the new user.
- TQString kdeHome = KGlobal::dirs()->relativeLocation("home", KGlobal::dirs()->localkdedir());
+ TQString kdeHome = KGlobal::dirs()->relativeLocation("home", KGlobal::dirs()->localtdedir());
if (kdeHome[0] != '/')
kdeHome.prepend("~/");
else