summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-08 01:32:34 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-08 04:52:52 +0200
commite2f981b140d87ce195386a6beaa3a015e791accb (patch)
treeddf3cd9a473ab11327893a88c162cde98f801b5f /tdeio
parent11b5fd8f08aa59fdfed395d7e6de0aa6914fb021 (diff)
downloadtdelibs-e2f981b140d87ce195386a6beaa3a015e791accb.tar.gz
tdelibs-e2f981b140d87ce195386a6beaa3a015e791accb.zip
Fix starting KDE4 applications
This resolves Bug 1654
Diffstat (limited to 'tdeio')
-rw-r--r--tdeio/tdeio/kservice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeio/tdeio/kservice.cpp b/tdeio/tdeio/kservice.cpp
index 67031d06d..a4c67f335 100644
--- a/tdeio/tdeio/kservice.cpp
+++ b/tdeio/tdeio/kservice.cpp
@@ -103,7 +103,7 @@ KService::init( KDesktopFile *config )
// extract prefix
kde4applicationprefix = config->fileName();
int pos = kde4applicationprefix.find("/share/applications/kde4/");
- kde4applicationprefix.truncate(pos-1);
+ kde4applicationprefix.truncate(pos);
}
config->setDesktopGroup();