[vlc-commits] Qt: Open: always update mrl on tab switch.
Francois Cartegnie
git at videolan.org
Tue Apr 16 17:25:59 CEST 2013
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Apr 16 17:10:46 2013 +0200| [9b1d01a8b6aa465cbef7321e53876b213b07806c] | committer: Francois Cartegnie
Qt: Open: always update mrl on tab switch.
Otherwise could any MRL with net caching.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9b1d01a8b6aa465cbef7321e53876b213b07806c
---
modules/gui/qt4/components/open_panels.cpp | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 0d57d02..2e9fcb9 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -704,13 +704,10 @@ void NetOpenPanel::updateMRL()
{
QString url = ui.urlComboBox->lineEdit()->text();
- if( url.isEmpty() )
- return;
-
emit methodChanged( qfu( "network-caching" ) );
QStringList qsl;
- qsl << url;
+ if( !url.isEmpty() ) qsl << url;
emit mrlUpdated( qsl, "" );
}
More information about the vlc-commits
mailing list