]> git.sesse.net Git - vlc/commitdiff
Qt4 - Open. Fix segfault under windows. Still need to find out to hide those buttons...
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 20 Mar 2007 23:40:09 +0000 (23:40 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 20 Mar 2007 23:40:09 +0000 (23:40 +0000)
modules/gui/qt4/components/open.cpp

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