diff options
-rw-r--r-- | kio/kio/kservice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kio/kio/kservice.cpp b/kio/kio/kservice.cpp index 27b4859c1..bad9d7d35 100644 --- a/kio/kio/kservice.cpp +++ b/kio/kio/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(); |