Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Abdelrazak Younes a écrit : | > Jean-Marc Lasgouttes a écrit : | >>>>>>> "Abdelrazak" == Abdelrazak Younes | >>>>>>> <[EMAIL PROTECTED]> | >>>>>>> writes: | >> | >> Abdelrazak> A good news never come alone so I have also fixed my | >> Abdelrazak> "random crashes" problem. This is because I kept a const | >> Abdelrazak> reference of menu item FuncRequest given by | >> Abdelrazak> MenuItem::func() instead of a full copy of it like it is | >> Abdelrazak> done in the qt2 frontend. For some menu item, the const | >> Abdelrazak> ref remains valid but not for others. Is it by design? I | >> Abdelrazak> mean like the submenuname() thing? | >> | >> The const ref should remain valid until the expanded menu is | >> de-allocated. | > Ah... I see this might be because I used a local Menu with the | > expand call. Then I'll try to put as a private member of QLPopupMenu | > instead and switch back to the const ref. | | Hum, I need this simple attached patch for this to work correctly. OK | to apply? It makes no harm to current code.
No. I do not want any changes like this now. Wait until 1.4.0 is realeased and we have branched the stable tree. -- Lgb