Commit 87502c76 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Quick Fix to avoid a segfault on various chaining of close/open/cancel.

This is a quick fix that does not want to be in master... Proper fix should go to master.
parent 946351eb
......@@ -57,6 +57,8 @@ public:
void showModulePrefs( char* );
#endif
protected:
virtual void closeEvent( QCloseEvent *e ){ instance = NULL; close(); }
private:
PrefsDialog( QWidget *, intf_thread_t * );
QGridLayout *main_layout;
......
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