RipCDDialog no longer needs to LoadSongs on show.

This commit is contained in:
Lukas Prediger 2021-06-01 19:15:10 +03:00 committed by John Maguire
parent 63953e1045
commit ae9824e26a
1 changed files with 3 additions and 2 deletions

View File

@ -135,8 +135,9 @@ void RipCDDialog::closeEvent(QCloseEvent* event) {
}
void RipCDDialog::showEvent(QShowEvent* event) {
ResetDialog();
if (loader_) loader_->LoadSongs();
// No need to refresh track list here anymore. On first open this is initiated
// by InitializeDevices(). Afterwards track list is always updates when a disc
// change is detected due to working through CddaDevice
if (!working_) {
ui_->progress_group->hide();
}