diff options
Diffstat (limited to 'kded/kded.cpp')
-rw-r--r-- | kded/kded.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kded/kded.cpp b/kded/kded.cpp index 257ab3731..1d234ac06 100644 --- a/kded/kded.cpp +++ b/kded/kded.cpp @@ -156,7 +156,7 @@ void Kded::initModules() { m_dontLoad.clear(); KConfig *config = kapp->config(); - bool kde_running = !( getenv( "KDE_FULL_SESSION" ) == NULL || getenv( "KDE_FULL_SESSION" )[ 0 ] == '\0' ); + bool kde_running = !( getenv( "TDE_FULL_SESSION" ) == NULL || getenv( "TDE_FULL_SESSION" )[ 0 ] == '\0' ); // not the same user like the one running the session (most likely we're run via sudo or something) if( getenv( "KDE_SESSION_UID" ) != NULL && uid_t( atoi( getenv( "KDE_SESSION_UID" ))) != getuid()) kde_running = false; |