diff options
-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(); |