mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-09 16:28:54 +01:00
Fix compile without gstreamer
This commit is contained in:
parent
d297a7198a
commit
3f5f3d143f
@ -226,10 +226,12 @@ MainWindow::MainWindow(Application *app, SystemTrayIcon *tray_icon, OSD *osd, co
|
|||||||
dialog->SetDestinationModel(app->collection()->model()->directory_model());
|
dialog->SetDestinationModel(app->collection()->model()->directory_model());
|
||||||
return dialog;
|
return dialog;
|
||||||
}),
|
}),
|
||||||
|
#ifdef HAVE_GSTREAMER
|
||||||
transcode_dialog_([=]() {
|
transcode_dialog_([=]() {
|
||||||
TranscodeDialog *dialog = new TranscodeDialog(this);
|
TranscodeDialog *dialog = new TranscodeDialog(this);
|
||||||
return dialog;
|
return dialog;
|
||||||
}),
|
}),
|
||||||
|
#endif
|
||||||
add_stream_dialog_([=]() {
|
add_stream_dialog_([=]() {
|
||||||
AddStreamDialog *add_stream_dialog = new AddStreamDialog;
|
AddStreamDialog *add_stream_dialog = new AddStreamDialog;
|
||||||
connect(add_stream_dialog, SIGNAL(accepted()), this, SLOT(AddStreamAccepted()));
|
connect(add_stream_dialog, SIGNAL(accepted()), this, SLOT(AddStreamAccepted()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user