the loop in the second hunk can be made less arcane:
while (QWidget *popup = qApp->activePopupWidget())
popup->close();
i can't comment on the patch in detail, but it seems plausible, so feel free to submit upstream for discussion. lubos, note that you need to do that yourself for legal reasons.
the loop in the second hunk can be made less arcane:
while (QWidget *popup = qApp->activePop upWidget( ))
popup->close();
i can't comment on the patch in detail, but it seems plausible, so feel free to submit upstream for discussion. lubos, note that you need to do that yourself for legal reasons.