Commit 4f0759ef authored by Jakob Leben's avatar Jakob Leben

Qt: memory leak

parent d0f5b18e
...@@ -1036,7 +1036,10 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show ) ...@@ -1036,7 +1036,10 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
msg_Warn( p_intf, "could not find parent interface" ); msg_Warn( p_intf, "could not find parent interface" );
} }
else else
menu->addMenu( ViewMenu( p_intf, (QMenu *)NULL ) ); {
QMenu *viewmenu = menu->addMenu( qtr( "V&iew" ) );
ViewMenu( p_intf, viewmenu );
}
menu->addMenu( submenu ); menu->addMenu( submenu );
} }
......
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