mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-24 04:32:15 -04:00
Fixed download progress update for the first row
This commit is contained in:
parent
b53042edd5
commit
087881d510
@ -272,8 +272,7 @@ void ContentManagerModel::updateDownload(QString bookId)
|
|||||||
|
|
||||||
if ( it != bookIdToRowMap.constEnd() ) {
|
if ( it != bookIdToRowMap.constEnd() ) {
|
||||||
const size_t row = it.value();
|
const size_t row = it.value();
|
||||||
const QModelIndex rootNodeIndex = this->index(0, 0);
|
const QModelIndex newIndex = this->index(row, 5);
|
||||||
const QModelIndex newIndex = this->index(row, 5, rootNodeIndex);
|
|
||||||
emit dataChanged(newIndex, newIndex);
|
emit dataChanged(newIndex, newIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user