[vlc-devel] commit: Qt4: make the cdda-track option work from the GUI. ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Fri Apr 24 18:30:42 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Apr 24 18:20:58 2009 +0200| [fcae9e71e8c8dd66c5c5497e73f41022114a499c] | committer: Jean-Baptiste Kempf
Qt4: make the cdda-track option work from the GUI.
Ref #1800
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fcae9e71e8c8dd66c5c5497e73f41022114a499c
---
modules/gui/qt4/components/open_panels.cpp | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 325b38c..07f6c90 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -422,9 +422,6 @@ void DiscOpenPanel::updateMRL()
/* CDDA */
} else {
mrl = "cdda://" + ui.deviceCombo->currentText();
- if( ui.titleSpin->value() > 0 ) {
- mrl += QString(" :cdda-track=%1").arg( ui.titleSpin->value() );
- }
}
fileList << mrl; mrl = "";
@@ -440,6 +437,11 @@ void DiscOpenPanel::updateMRL()
QString("%1").arg( ui.subtitlesSpin->value() );
}
}
+ else
+ {
+ if( ui.titleSpin->value() > 0 )
+ mrl += QString(" :cdda-track=%1").arg( ui.titleSpin->value() );
+ }
emit mrlUpdated( fileList, mrl );
}
More information about the vlc-devel
mailing list