mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-05 08:10:21 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user