Commit 657bd315 authored by Erwan Tulou's avatar Erwan Tulou Committed by Jean-Baptiste Kempf

Corrects crash when closing preference dialog (upper right X icon) and trying to open it again.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 97675912
......@@ -51,7 +51,7 @@ public:
instance = new PrefsDialog( (QWidget *)p_intf->p_sys->p_mi, p_intf );
return instance;
}
virtual ~PrefsDialog() {};
virtual ~PrefsDialog() { instance = NULL; }
#if 0
/*Called from extended settings, is not used anymore, but could be useful one day*/
void showModulePrefs( char* );
......
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