Commit d56d8c00 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Open. Fix segfault under windows. Still need to find out to hide those...

Qt4 - Open. Fix segfault under windows. Still need to find out to hide those buttons under windows. But one at a time.

parent 381a5cb4
...@@ -66,7 +66,9 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) : ...@@ -66,7 +66,9 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
ui.gridLayout->addWidget( dialogBox, 0, 0, 1, 3 ); ui.gridLayout->addWidget( dialogBox, 0, 0, 1, 3 );
// But hide the two OK/Cancel buttons. Enable them for debug. // But hide the two OK/Cancel buttons. Enable them for debug.
#ifndef WIN32
findChild<QDialogButtonBox*>()->hide(); findChild<QDialogButtonBox*>()->hide();
#endif
/* Ugly hacks to get the good Widget */ /* Ugly hacks to get the good Widget */
//This lineEdit is the normal line in the fileDialog. //This lineEdit is the normal line in the fileDialog.
......
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