Fix starting KDE4 applications

This resolves Bug 1654
(cherry picked from commit e2f981b140)
v3.5.13-sru
Slávek Banko 11 years ago
parent e10a4809f1
commit 6240e10388

@ -103,7 +103,7 @@ KService::init( KDesktopFile *config )
// extract prefix // extract prefix
kde4applicationprefix = config->fileName(); kde4applicationprefix = config->fileName();
int pos = kde4applicationprefix.find("/share/applications/kde4/"); int pos = kde4applicationprefix.find("/share/applications/kde4/");
kde4applicationprefix.truncate(pos-1); kde4applicationprefix.truncate(pos);
} }
config->setDesktopGroup(); config->setDesktopGroup();

Loading…
Cancel
Save