mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-27 07:47:03 -05:00
Fixed counting thx to sehraf
This commit is contained in:
parent
01f3db70d3
commit
701f1ceb4a
@ -507,10 +507,7 @@ void IdDialog::insertIdList(uint32_t token)
|
||||
}
|
||||
|
||||
/* count items */
|
||||
for( int i = 0; i < ui->idTreeWidget->topLevelItemCount(); ++i )
|
||||
{
|
||||
ui->label_count->setText( "(" + QString::number(i) + ")" );
|
||||
}
|
||||
ui->label_count->setText( "(" + QString::number(ui->idTreeWidget->topLevelItemCount()) + ")" );
|
||||
|
||||
filterIds();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user