mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 12:00:16 -07:00
- Fixed column sorting restoring on startup
This commit is contained in:
parent
c786c42bb1
commit
88f0ffe86d
2 changed files with 4 additions and 0 deletions
|
@ -119,6 +119,8 @@ void FinishedTorrents::addTorrent(QString hash){
|
||||||
// Update the number of finished torrents
|
// Update the number of finished torrents
|
||||||
++nbFinished;
|
++nbFinished;
|
||||||
emit finishedTorrentsNumberChanged(nbFinished);
|
emit finishedTorrentsNumberChanged(nbFinished);
|
||||||
|
// Sort List
|
||||||
|
sortFinishedList();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the color of a row in data model
|
// Set the color of a row in data model
|
||||||
|
|
|
@ -589,6 +589,8 @@ void DownloadingTorrents::addTorrent(QString hash) {
|
||||||
}
|
}
|
||||||
++nbTorrents;
|
++nbTorrents;
|
||||||
emit unfinishedTorrentsNumberChanged(nbTorrents);
|
emit unfinishedTorrentsNumberChanged(nbTorrents);
|
||||||
|
// sort List
|
||||||
|
sortDownloadList();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DownloadingTorrents::sortDownloadListFloat(int index, Qt::SortOrder sortOrder) {
|
void DownloadingTorrents::sortDownloadListFloat(int index, Qt::SortOrder sortOrder) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue