[vlc-devel] commit: Allow SSM to be used within QT4 Open Network panel ( Marian Ďurkovič )
git version control
git at videolan.org
Sun Oct 18 19:43:28 CEST 2009
vlc | branch: master | Marian Ďurkovič <md at bts.sk> | Sun Oct 18 19:43:07 2009 +0200| [1a56200781212d669ecb64e06c0e02dc7943f55f] | committer: Marian Ďurkovič
Allow SSM to be used within QT4 Open Network panel
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1a56200781212d669ecb64e06c0e02dc7943f55f
---
modules/gui/qt4/components/open_panels.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index c130c6c..8967f53 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -606,7 +606,8 @@ void NetOpenPanel::updateMRL() {
mrl += addr;
else
{
- mrl += qfu( "@" );
+ if( !addr.contains( "@" ) )
+ mrl += qfu( "@" );
switch( addr.count( ":" ) )
{
case 0: /* DNS or IPv4 literal, no port number */
More information about the vlc-devel
mailing list