[vlc-commits] VLM: fix export

Jean-Baptiste Kempf git at videolan.org
Sat Apr 23 12:40:26 CEST 2011


vlc/vlc-1.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Apr 22 17:12:59 2011 +0200| [e374f3679df7b8a6431fc7ea41bcf21fc19dd6fa] | committer: Jean-Baptiste Kempf

VLM: fix export

Close #4495
(cherry picked from commit 55878a089fc12f9997a5ad547910d7e4b900cc36)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/qt4/dialogs/vlm.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/dialogs/vlm.cpp b/modules/gui/qt4/dialogs/vlm.cpp
index 9ee9467..8347cae 100644
--- a/modules/gui/qt4/dialogs/vlm.cpp
+++ b/modules/gui/qt4/dialogs/vlm.cpp
@@ -391,7 +391,10 @@ void VLMDialog::selectOutput()
 {
     SoutDialog *s = new SoutDialog( this, p_intf );
     if( s->exec() == QDialog::Accepted )
-        ui.outputLedit->setText( s->getMrl() );
+    {
+        int i = s->getMrl().indexOf( " " );
+        ui.outputLedit->setText( s->getMrl().left( i ) );
+    }
 }
 
 /* Object Modification */



More information about the vlc-commits mailing list