1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-09 08:33:29 +01:00

Not using std::make_unique

This commit is contained in:
Lukas Prediger 2021-06-01 20:36:54 +03:00 committed by John Maguire
parent 6ea20336c2
commit e35e4195c2

View File

@ -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<RipCDDialog>(*(app_->device_manager()));
rip_cd_dialog_.reset(new RipCDDialog(*(app_->device_manager())));
}
rip_cd_dialog_->show();
#endif