1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-02-04 03:17:30 +01:00

Fix compile without gstreamer

This commit is contained in:
Jonas Kvinge 2020-05-30 21:39:16 +02:00
parent d297a7198a
commit 3f5f3d143f

View File

@ -226,10 +226,12 @@ MainWindow::MainWindow(Application *app, SystemTrayIcon *tray_icon, OSD *osd, co
dialog->SetDestinationModel(app->collection()->model()->directory_model());
return dialog;
}),
#ifdef HAVE_GSTREAMER
transcode_dialog_([=]() {
TranscodeDialog *dialog = new TranscodeDialog(this);
return dialog;
}),
#endif
add_stream_dialog_([=]() {
AddStreamDialog *add_stream_dialog = new AddStreamDialog;
connect(add_stream_dialog, SIGNAL(accepted()), this, SLOT(AddStreamAccepted()));