Commit f1fb549e authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

qt: custom_menus: Do not leak created actions

parent bf633b67
......@@ -66,7 +66,7 @@ RendererMenu::RendererMenu( QMenu *parent, intf_thread_t *p_intf_ )
group = new QActionGroup( this );
QAction *action = new QAction( qtr("<Local>") );
QAction *action = new QAction( qtr("<Local>"), this );
action->setCheckable(true);
addAction( action );
group->addAction(action);
......
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