[vlc-devel] commit: Qt4 WIn32: play use the simple open, as advised by xtophe. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Oct 2 19:08:03 CEST 2008


vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Thu Oct  2 09:56:34 2008 -0700| [1efae7b48ad10eeef0cc5f5b60a5db63bd356579] | committer: Jean-Baptiste Kempf 

Qt4 WIn32: play use the simple open, as advised by xtophe.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1efae7b48ad10eeef0cc5f5b60a5db63bd356579
---

 modules/gui/qt4/components/interface_widgets.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index cde8967..8fd790c 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -845,7 +845,11 @@ void ControlsWidget::play()
     if( THEPL->current.i_size == 0 )
     {
         /* The playlist is empty, open a file requester */
+#ifndef WIN32
         THEDP->openFileDialog();
+#else
+        THEDP->simpleOpenDialog();
+#endif
         setStatus( 0 );
         return;
     }




More information about the vlc-devel mailing list