2023-11-06 Fred Gleason <fredg@paravelsystems.com>

* Added a 'RDTrackerWidget::isActive()' method.
	* Added a 'RDTrackerWidget::activeChanged()' signal.
	* Fixed a bug in rdairplay(1) that caused a segfault when attempting
	to unload a log from the voice tracker while the tracker was active.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2023-11-06 12:04:45 -05:00
parent 67d1e3afd8
commit 5d3931f7cf
4 changed files with 28 additions and 0 deletions

View File

@@ -31,6 +31,8 @@ VoiceTracker::VoiceTracker(QWidget *parent)
d_load_button=new QPushButton(tr("Load\nLog"),this);
d_load_button->setFont(bigButtonFont());
connect(d_load_button,SIGNAL(clicked()),this,SLOT(loadData()));
connect(d_tracker_widget,SIGNAL(activeChanged(bool)),
d_load_button,SLOT(setDisabled(bool)));
}