mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Change current IP filter asynchronously
This commit is contained in:
parent
bac57de5f5
commit
7022adb89b
2 changed files with 41 additions and 19 deletions
|
@ -59,6 +59,7 @@ class QNetworkConfigurationManager;
|
|||
#endif
|
||||
class QString;
|
||||
class QThread;
|
||||
class QThreadPool;
|
||||
class QTimer;
|
||||
class QUrl;
|
||||
|
||||
|
@ -431,6 +432,8 @@ namespace BitTorrent
|
|||
void findIncompleteFiles(const TorrentInfo &torrentInfo, const Path &savePath
|
||||
, const Path &downloadPath, const PathList &filePaths = {}) const;
|
||||
|
||||
void invokeAsync(std::function<void ()> func);
|
||||
|
||||
private slots:
|
||||
void configureDeferred();
|
||||
void readAlerts();
|
||||
|
@ -694,6 +697,7 @@ namespace BitTorrent
|
|||
QPointer<Tracker> m_tracker;
|
||||
|
||||
QThread *m_ioThread = nullptr;
|
||||
QThreadPool *m_asyncWorker = nullptr;
|
||||
ResumeDataStorage *m_resumeDataStorage = nullptr;
|
||||
FileSearcher *m_fileSearcher = nullptr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue