mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-24 16:31:22 +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
|
#ifdef HAVE_AUDIOCD
|
||||||
if (!rip_cd_dialog_) {
|
if (!rip_cd_dialog_) {
|
||||||
Q_ASSERT(app_->device_manager());
|
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();
|
rip_cd_dialog_->show();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user