Overwriting default menu entry locations (was: Re: KDE/kdelibs/kdeui/xmlgui)

Friedrich W. H. Kossebau kossebau at kde.org
Wed Jan 14 23:07:57 GMT 2009


Am Mittwoch, 14. Januar 2009, um 23:59 Uhr, schrieb Friedrich W. H. Kossebau:
> Because the Go menu is part of base, not additive?

Err, meant, Go is both in base and additive, so will have called 
KXMLGUIClientPrivate::mergeXML() for it, then due to noMerge="1" being 
replaced (by the empty one from additive).

So for this error, however rare it might be, additive should be checked if it 
isn't just perhaps an empty menu, so mergeXML() should instead simply return 
false there.

Friedrich
-- 
Okteta - KDE 4 Hex Editor - http://utils.kde.org/projects/okteta




More information about the kde-core-devel mailing list