Commit e710aeb8 authored by Rémi Duraffort's avatar Rémi Duraffort

qt4_skins2: fix a crash that occure when using skins2.

parent 0af542a3
...@@ -203,7 +203,7 @@ public: ...@@ -203,7 +203,7 @@ public:
i_arg = _i_arg; i_arg = _i_arg;
p_arg = _p_arg; p_arg = _p_arg;
}; };
virtual ~DialogEvent() { delete p_arg; }; virtual ~DialogEvent() { };
int i_arg, i_dialog; int i_arg, i_dialog;
intf_dialog_args_t *p_arg; intf_dialog_args_t *p_arg;
......
...@@ -1123,7 +1123,7 @@ static int PopupMenuCB( vlc_object_t *p_this, const char *psz_variable, ...@@ -1123,7 +1123,7 @@ static int PopupMenuCB( vlc_object_t *p_this, const char *psz_variable,
if( p_intf->pf_show_dialog ) if( p_intf->pf_show_dialog )
{ {
p_intf->pf_show_dialog( p_intf, INTF_DIALOG_POPUPMENU, p_intf->pf_show_dialog( p_intf, INTF_DIALOG_POPUPMENU,
new_val.b_bool, 0 ); new_val.b_bool, NULL );
} }
return VLC_SUCCESS; return VLC_SUCCESS;
......
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