Not using std::make_unique

This commit is contained in:
Lukas Prediger 2021-06-01 20:36:54 +03:00
parent c3f8c010ec
commit fb3776c4cd
No known key found for this signature in database
GPG Key ID: DF7C5DA2E98A3428
1 changed files with 1 additions and 1 deletions

View File

@ -2219,7 +2219,7 @@ void MainWindow::OpenRipCDDialog() {
#ifdef HAVE_AUDIOCD
if (!rip_cd_dialog_) {
Q_ASSERT(app_->device_manager());
rip_cd_dialog_ = std::make_unique<RipCDDialog>(*(app_->device_manager()));
rip_cd_dialog_.reset(new RipCDDialog(*(app_->device_manager())));
}
rip_cd_dialog_->show();
#endif