[vlc-commits] VLM: fix export
Jean-Baptiste Kempf
git at videolan.org
Fri Apr 22 17:14:35 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Apr 22 17:12:59 2011 +0200| [55878a089fc12f9997a5ad547910d7e4b900cc36] | committer: Jean-Baptiste Kempf
VLM: fix export
Close #4495
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=55878a089fc12f9997a5ad547910d7e4b900cc36
---
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 3f11c0c..8a08de9 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