Browse Source

- Fixed column sorting restoring on startup

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
88f0ffe86d
  1. 2
      src/FinishedTorrents.cpp
  2. 2
      src/downloadingTorrents.cpp

2
src/FinishedTorrents.cpp

@ -119,6 +119,8 @@ void FinishedTorrents::addTorrent(QString hash){ @@ -119,6 +119,8 @@ void FinishedTorrents::addTorrent(QString hash){
// Update the number of finished torrents
++nbFinished;
emit finishedTorrentsNumberChanged(nbFinished);
// Sort List
sortFinishedList();
}
// Set the color of a row in data model

2
src/downloadingTorrents.cpp

@ -589,6 +589,8 @@ void DownloadingTorrents::addTorrent(QString hash) { @@ -589,6 +589,8 @@ void DownloadingTorrents::addTorrent(QString hash) {
}
++nbTorrents;
emit unfinishedTorrentsNumberChanged(nbTorrents);
// sort List
sortDownloadList();
}
void DownloadingTorrents::sortDownloadListFloat(int index, Qt::SortOrder sortOrder) {

Loading…
Cancel
Save