Commit 6f1af24d authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: fix prev commitw

parent e5462dbd
......@@ -769,8 +769,8 @@ QMenu *VLCMenuBar::HelpMenu( QWidget *parent )
*****************************************************************************/
#define POPUP_BOILERPLATE \
static QMenu* menu = NULL; \
if ( menu ) menu->deleteLater(); \ /* Ensure it is deleted after processing events */
menu = NULL; \ /* or we might crash on an incoming mouseup event */
if ( menu ) menu->deleteLater(); /* Ensure it is deleted after processing events */\
menu = NULL; /* or we might crash on an incoming mouseup event */\
if( !show ) \
return; \
QVector<vlc_object_t *> objects; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment