Add source to songs and playlist_items
This commit is contained in:
@@ -44,14 +44,14 @@ TranscoderOptionsDialog::TranscoderOptionsDialog(Song::FileType type, QWidget *p
|
||||
ui_->setupUi(this);
|
||||
|
||||
switch (type) {
|
||||
case Song::Type_FLAC:
|
||||
case Song::Type_OggFlac: options_ = new TranscoderOptionsFlac(this); break;
|
||||
case Song::Type_MP4: options_ = new TranscoderOptionsAAC(this); break;
|
||||
case Song::Type_MPEG: options_ = new TranscoderOptionsMP3(this); break;
|
||||
case Song::Type_OggVorbis: options_ = new TranscoderOptionsVorbis(this); break;
|
||||
case Song::Type_OggOpus: options_ = new TranscoderOptionsOpus(this); break;
|
||||
case Song::Type_OggSpeex: options_ = new TranscoderOptionsSpeex(this); break;
|
||||
case Song::Type_ASF: options_ = new TranscoderOptionsWma(this); break;
|
||||
case Song::FileType_FLAC:
|
||||
case Song::FileType_OggFlac: options_ = new TranscoderOptionsFlac(this); break;
|
||||
case Song::FileType_MP4: options_ = new TranscoderOptionsAAC(this); break;
|
||||
case Song::FileType_MPEG: options_ = new TranscoderOptionsMP3(this); break;
|
||||
case Song::FileType_OggVorbis: options_ = new TranscoderOptionsVorbis(this); break;
|
||||
case Song::FileType_OggOpus: options_ = new TranscoderOptionsOpus(this); break;
|
||||
case Song::FileType_OggSpeex: options_ = new TranscoderOptionsSpeex(this); break;
|
||||
case Song::FileType_ASF: options_ = new TranscoderOptionsWma(this); break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user