From fcae9e71e8c8dd66c5c5497e73f41022114a499c Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Fri, 24 Apr 2009 18:20:58 +0200 Subject: [PATCH] Qt4: make the cdda-track option work from the GUI. Ref #1800 --- modules/gui/qt4/components/open_panels.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp index 325b38c3fa..07f6c90fcb 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 ); } -- 2.39.2