summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-05-06 12:59:23 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-05-06 12:59:23 -0500
commit4f26acaadaf53cfff8e317c8a4bd63ab8c4c796e (patch)
tree605329e1c87c28c6f5a9ad2b1ad498e78d659137
parent7d40df87401ad303bea05d77fa51c53918a78014 (diff)
downloadtdelibs-4f26acaadaf53cfff8e317c8a4bd63ab8c4c796e.tar.gz
tdelibs-4f26acaadaf53cfff8e317c8a4bd63ab8c4c796e.zip
Fix environment variable TDE_SESSION_VERSION -> KDE_SESSION_VERSION to
properly detect a KDE4 session.
-rw-r--r--kded/kded.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kded/kded.cpp b/kded/kded.cpp
index b87d2bb87..f35075ea2 100644
--- a/kded/kded.cpp
+++ b/kded/kded.cpp
@@ -162,7 +162,7 @@ void Kded::initModules()
kde_running = false;
// Preload kded modules.
KService::List kdedModules = KServiceType::offers("KDEDModule");
- TQString version = getenv( "TDE_SESSION_VERSION" );
+ TQString version = getenv( "KDE_SESSION_VERSION" );
TQStringList blacklist;
if ( version >= "4" )
{