1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 23:07:59 +00:00

Oops forgot a mutex locker in progress column sorting

This commit is contained in:
Christophe Dumez 2007-06-29 14:06:34 +00:00
parent dfa9965ed3
commit e361ef5543

View File

@ -452,6 +452,7 @@ void GUI::displayInfoBarMenu(const QPoint& pos){
void GUI::sortProgressColumnDelayed() { void GUI::sortProgressColumnDelayed() {
if(delayedSorting){ if(delayedSorting){
QMutexLocker lock(&DLListAccess);
sortDownloadListFloat(PROGRESS, delayedSortingOrder); sortDownloadListFloat(PROGRESS, delayedSortingOrder);
qDebug("Delayed sorting of progress column"); qDebug("Delayed sorting of progress column");
delayedSorting = false; delayedSorting = false;