[Kde-games-devel] Kubrick: duplicate menu item "Main Demo"

Parker Coates parker.coates at gmail.com
Thu Oct 23 16:03:49 CEST 2008


On Thu, Oct 23, 2008 at 07:30, Ian Wadham <ianw2 at optusnet.com.au> wrote:
> On Thu, 23 Oct 2008 10:37:08 pm Burkhard Lück wrote:
>> kubrick has a duplicate menu item "Main Demo":
>>
> AFAIK this is a consequence of using KStandardGameAction::demo,
> but I do not see how "demo" can be categorized as a "move" ... that
> has been handed down by our forefathers in libkdegames, I think.
>

If your usage is non-"standard" then I think it makes the most sense
to skip the convenience of KStandardGameAction and create the action
from scratch. It's a bit more code, but is certainly worth the effort
to avoid the duplicate menu entry.

Parker


More information about the kde-games-devel mailing list