Commit 4ff01dbb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: remove small leaks in menus.hpp

parent 63dcebf7
......@@ -141,7 +141,9 @@ class MenuFunc : public QObject
Q_OBJECT
public:
MenuFunc( QMenu *_menu, int _id ) { menu = _menu; id = _id; };
MenuFunc( QMenu *_menu, int _id ) : QObject( (QObject *)_menu ),
menu( _menu ), id( _id ){}
void doFunc( intf_thread_t *p_intf)
{
switch( id )
......
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