Jean-Marc Lasgouttes a écrit :
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:

Abdelrazak> Well I _don't_ need the names, it's just that I though the
Abdelrazak> MenuBackend needed it to expand the submenu. So maybe I
Abdelrazak> got it wrong... Are you saying that there is no need to
Abdelrazak> expand every submenu? Only one call to "expand" with the
Abdelrazak> top level nemu name will fill automatically all submenus?

Yes, as you have figured out now.

OK, this is fixed now. The code is simpler now :-)

A good news never come alone so I have also fixed my "random crashes" problem. This is because I kept a const reference of menu item FuncRequest given by MenuItem::func() instead of a full copy of it like it is done in the qt2 frontend. For some menu item, the const ref remains valid but not for others. Is it by design? I mean like the submenuname() thing?

Anyway, thanks to your help I have now a port to Qt4.1 that is very close to being functional, Yahoo !!! :-). The only big remaining problem is that there is no keyboard blinking cursor and that this cursor does follow the keyboard.

Abdel.



JMarc


Reply via email to