[vlc-commits] Qt: save recent on transcode/stream

Francois Cartegnie git at videolan.org
Sun Jan 18 15:20:25 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Jan 18 15:18:59 2015 +0100| [9d927161375ffdcee00672d2b4cdf61a64b89434] | committer: Francois Cartegnie

Qt: save recent on transcode/stream

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

 modules/gui/qt4/dialogs/open.cpp |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/gui/qt4/dialogs/open.cpp b/modules/gui/qt4/dialogs/open.cpp
index 90c7949..3ddfcd5 100644
--- a/modules/gui/qt4/dialogs/open.cpp
+++ b/modules/gui/qt4/dialogs/open.cpp
@@ -395,6 +395,9 @@ void OpenDialog::stream( bool b_transcode_only )
 //    QString soutMRL = getMRL( false );
 //    if( soutMRL.isEmpty() ) return;
 
+    for( int i = 0; i < OPEN_TAB_MAX; i++ )
+        qobject_cast<OpenPanel*>( ui.Tab->widget( i ) )->onAccept();
+
     QStringList soutMRLS = getMRLs(false);
     if(soutMRLS.empty())
     {



More information about the vlc-commits mailing list