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:
parent
6ea20336c2
commit
e35e4195c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user