summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2012-12-17 01:47:45 +0100
committerSlávek Banko <slavek.banko@axis.cz>2012-12-17 01:54:43 +0100
commit5356a8348cd4d26014b059db2e10c16879da8f70 (patch)
tree00c4e319ce877e0b62b8feb78201a543a26548f2
parent0756aab5116d72f61dc1bde94d566b8aeec17476 (diff)
downloadtdelibs-5356a8348cd4d26014b059db2e10c16879da8f70.tar.gz
tdelibs-5356a8348cd4d26014b059db2e10c16879da8f70.zip
Fix variables passed to kde4 applications
This resolves Bug 1366
-rw-r--r--kio/kio/kservice.cpp2
1 files changed, 1 insertions, 1 deletions
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)