2022-05-23 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in the 'Generate Log' dialog in rdlogmanager(1)
	that caused the progress bar dialog to fail to be hidden after
	generation of a log.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2022-05-23 12:52:45 -04:00
parent 98e040f638
commit 8425e07675
2 changed files with 7 additions and 1 deletions

View File

@ -23148,3 +23148,7 @@
2022-05-23 Fred Gleason <fredg@paravelsystems.com> 2022-05-23 Fred Gleason <fredg@paravelsystems.com>
* Tweaked the layout of the meter strip in rdairplay(1) so as to * Tweaked the layout of the meter strip in rdairplay(1) so as to
keep 4 character long labels from running together. keep 4 character long labels from running together.
2022-05-23 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in the 'Generate Log' dialog in rdlogmanager(1)
that caused the progress bar dialog to fail to be hidden after
generation of a log.

View File

@ -58,7 +58,7 @@ GenerateLog::GenerateLog(QWidget *parent,int cmd_switch,QString *cmd_service,
new QProgressDialog(tr("Generating Log..."),tr("Cancel"),0,24,this); new QProgressDialog(tr("Generating Log..."),tr("Cancel"),0,24,this);
gen_progress_dialog->setWindowTitle("Progress"); gen_progress_dialog->setWindowTitle("Progress");
gen_progress_dialog->setCancelButton(NULL); gen_progress_dialog->setCancelButton(NULL);
gen_progress_dialog->setValue(24); gen_progress_dialog->setValue(gen_progress_dialog->maximum());
// //
// Service Name // Service Name
@ -323,6 +323,8 @@ void GenerateLog::createData()
return; return;
} }
log->updateTracks(); log->updateTracks();
gen_progress_dialog->
setValue(gen_progress_dialog->setValue(gen_progress_dialog->maximum());
SendNotification(RDNotification::AddAction,log->name()); SendNotification(RDNotification::AddAction,log->name());
delete log; delete log;
delete svc; delete svc;