From 5356a8348cd4d26014b059db2e10c16879da8f70 Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Mon, 17 Dec 2012 01:47:45 +0100 Subject: Fix variables passed to kde4 applications This resolves Bug 1366 --- kio/kio/kservice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kio/kio/kservice.cpp b/kio/kio/kservice.cpp index 6dfd5a853..e3b4a4adb 100644 --- a/kio/kio/kservice.cpp +++ b/kio/kio/kservice.cpp @@ -198,7 +198,7 @@ KService::init( KDesktopFile *config ) m_strExec = config->readPathEntry( "Exec" ); if (kde4application && !m_strExec.startsWith("/")) { - m_strExec = "TDEHOME=$HOME/.trinity XDG_DATA_DIRS=/usr/share TDEDIRS=/usr/ XDG_CONFIG_DIRS=/etc/xdg/ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$PATH "+m_strExec; + m_strExec = "XDG_DATA_DIRS=/usr/share XDG_CONFIG_DIRS=/etc/xdg/ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$PATH "+m_strExec; } else if (config->readBoolEntry("X-TDE-SubstituteUID")) { int space = m_strExec.find(" "); if (space==-1) -- cgit v1.2.1