Commit fcae9e71 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4: make the cdda-track option work from the GUI.

Ref #1800
parent 487e5bec
......@@ -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 );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment