diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-09-08 01:32:34 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-09-08 04:52:52 +0200 |
commit | e2f981b140d87ce195386a6beaa3a015e791accb (patch) | |
tree | ddf3cd9a473ab11327893a88c162cde98f801b5f /tdeio | |
parent | 11b5fd8f08aa59fdfed395d7e6de0aa6914fb021 (diff) | |
download | tdelibs-e2f981b140d87ce195386a6beaa3a015e791accb.tar.gz tdelibs-e2f981b140d87ce195386a6beaa3a015e791accb.zip |
Fix starting KDE4 applications
This resolves Bug 1654
Diffstat (limited to 'tdeio')
-rw-r--r-- | tdeio/tdeio/kservice.cpp | 2 |
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(); |