mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
use a mutex for download list access (should fix sorting)
This commit is contained in:
parent
dcc54a7f35
commit
dfa9965ed3
3 changed files with 6 additions and 1 deletions
|
@ -25,6 +25,7 @@
|
|||
#include <QMainWindow>
|
||||
#include <QProcess>
|
||||
#include <QSystemTrayIcon>
|
||||
#include <QMutex>
|
||||
|
||||
#include <libtorrent/entry.hpp>
|
||||
#include <libtorrent/bencode.hpp>
|
||||
|
@ -84,6 +85,7 @@ class GUI : public QMainWindow, private Ui::MainWindow{
|
|||
bool force_exit;
|
||||
bool delayedSorting;
|
||||
Qt::SortOrder delayedSortingOrder;
|
||||
QMutex DLListAccess;
|
||||
// Preview
|
||||
previewSelect *previewSelection;
|
||||
QProcess *previewProcess;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue