diff options
Diffstat (limited to 'style/qtcurve.cpp')
-rw-r--r-- | style/qtcurve.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/style/qtcurve.cpp b/style/qtcurve.cpp index 1734d8a..84853da 100644 --- a/style/qtcurve.cpp +++ b/style/qtcurve.cpp @@ -190,7 +190,7 @@ static bool useTQt3Settings() if(0==ver) { - const char *sessionVersion=getenv("KDE_SESSION_VERSION"); + const char *sessionVersion=getenv("TDE_SESSION_VERSION"); ver=sessionVersion ? atoi(sessionVersion)<4 @@ -279,7 +279,7 @@ static TQString kdeHome(bool trinity=false) // Try env vars... if(kdeHome[trinity ? 0 : 1].isEmpty()) { - kdeHome[trinity ? 0 : 1]=readEnvPath(getuid() ? "TDEHOME" : "KDEROOTHOME"); + kdeHome[trinity ? 0 : 1]=readEnvPath(getuid() ? "TDEHOME" : "TDEROOTHOME"); if (kdeHome[trinity ? 0 : 1].isEmpty()) { TQDir homeDir(TQDir::homeDirPath()); |