Fix starting KDE4 applications

This resolves Bug 1654
pull/16/head
Slávek Banko 11 years ago
parent 11b5fd8f08
commit e2f981b140

@ -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();

Loading…
Cancel
Save