diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index 1fe084db9..363e7074a 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -2221,7 +2221,7 @@ void MainWindow::OpenRipCDDialog() { #ifdef HAVE_AUDIOCD if (!rip_cd_dialog_) { Q_ASSERT(app_->device_manager()); - rip_cd_dialog_ = std::make_unique(*(app_->device_manager())); + rip_cd_dialog_.reset(new RipCDDialog(*(app_->device_manager()))); } rip_cd_dialog_->show(); #endif