2021-06-23 Fred Gleason <fredg@paravelsystems.com>

* Added a voice tracker widget to the right-hand side of
	rdairplay(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-06-23 12:11:59 -04:00
parent b98b33cfe2
commit 25c13af6c0
9 changed files with 529 additions and 315 deletions

View File

@@ -301,12 +301,12 @@ int RDLogModel::append(const QString &logname,bool track_ptrs)
void RDLogModel::clear()
{
if(d_log_lines.size()>0) {
beginRemoveRows(QModelIndex(),0,lineCount()-1);
beginResetModel();
for(int i=0;i<d_log_lines.size();i++) {
delete d_log_lines.at(i);
}
d_log_lines.clear();
endRemoveRows();
endResetModel();
}
d_log_name="";
d_max_id=0;