[Petter Reinholdtsen]
> + if (0 == line.find("/usr/share/applications/")
> + && 0 < line.find(".desktop")) {
I discovered that this is a bug. The code should look like this:
if (0 == line.find("/usr/share/applications/")
&& line.npos != line.find(".desktop")) {
With this change, the packages with .desktop files in
/usr/share/applications/kde4/ also work (see for example marble for a
package triggering this problem).
--
Happy hacking
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]