diff --git a/cmake_admin/FindKDECONFIG.cmake b/cmake_admin/FindKDECONFIG.cmake index 6688fa9..5679434 100644 --- a/cmake_admin/FindKDECONFIG.cmake +++ b/cmake_admin/FindKDECONFIG.cmake @@ -52,8 +52,8 @@ IF(NOT KDE3PREFIX) STRING(REGEX MATCH "KDE: .\\." kde_version ${kde_config_version}) IF (${kde_version} MATCHES "KDE: 3\\.") EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --prefix - OUTPUT_VARIABLE kdedir ) - STRING(REGEX REPLACE "\n" "" KDE3PREFIX "${kdedir}") + OUTPUT_VARIABLE tdedir ) + STRING(REGEX REPLACE "\n" "" KDE3PREFIX "${tdedir}") ENDIF (${kde_version} MATCHES "KDE: 3\\.") ENDIF(NOT KDE3PREFIX) diff --git a/src/gui/kdeext/klearlook.cpp b/src/gui/kdeext/klearlook.cpp index 0a2a1d2..51e2909 100644 --- a/src/gui/kdeext/klearlook.cpp +++ b/src/gui/kdeext/klearlook.cpp @@ -114,7 +114,7 @@ static TQString readEnvPath( const char *env ) { } static bool kickerIsTrans() { - TQString kdeHome( readEnvPath( getuid() ? "TDEHOME" : "KDEROOTHOME" ) ), + TQString kdeHome( readEnvPath( getuid() ? "TDEHOME" : "TDEROOTHOME" ) ), cfgFileName; bool trans = false;