From e35e4195c2dec1b4325bf0c7fd0bd32effbe0968 Mon Sep 17 00:00:00 2001 From: Lukas Prediger Date: Tue, 1 Jun 2021 20:36:54 +0300 Subject: [PATCH] Not using std::make_unique --- src/ui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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