mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Move deletion from hard drive to a thread to avoid GUI freezing
This commit is contained in:
parent
f017d29359
commit
f4be28c014
5 changed files with 19 additions and 5 deletions
|
@ -43,6 +43,8 @@
|
|||
#include "about_imp.h"
|
||||
#include "previewSelect.h"
|
||||
#include "trackerLogin.h"
|
||||
#include "deleteThread.h"
|
||||
|
||||
|
||||
#define TIME_TRAY_BALLOON 5000
|
||||
|
||||
|
@ -72,6 +74,7 @@ class GUI : public QMainWindow, private Ui::MainWindow{
|
|||
downloadThread *downloader;
|
||||
downloadFromURL *downloadFromURLDialog;
|
||||
bool DHTEnabled;
|
||||
QList<deleteThread*> deleters;
|
||||
// GUI related
|
||||
options_imp *options;
|
||||
createtorrent *createWindow;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue