mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 08:27:24 -06:00
committed by
GitHub
parent
189514c6de
commit
4471a6377e
@@ -29,11 +29,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <QElapsedTimer>
|
||||
#include <QVariantMap>
|
||||
|
||||
#include "apicontroller.h"
|
||||
|
||||
struct ISessionManager;
|
||||
|
||||
class QThread;
|
||||
|
||||
class FreeDiskSpaceChecker;
|
||||
@@ -46,7 +45,7 @@ class SyncController : public APIController
|
||||
public:
|
||||
using APIController::APIController;
|
||||
|
||||
explicit SyncController(ISessionManager *sessionManager, QObject *parent = nullptr);
|
||||
explicit SyncController(QObject *parent = nullptr);
|
||||
~SyncController() override;
|
||||
|
||||
private slots:
|
||||
@@ -62,4 +61,9 @@ private:
|
||||
FreeDiskSpaceChecker *m_freeDiskSpaceChecker = nullptr;
|
||||
QThread *m_freeDiskSpaceThread = nullptr;
|
||||
QElapsedTimer m_freeDiskSpaceElapsedTimer;
|
||||
|
||||
QVariantMap m_lastMaindataResponse;
|
||||
QVariantMap m_lastAcceptedMaindataResponse;
|
||||
QVariantMap m_lastPeersResponse;
|
||||
QVariantMap m_lastAcceptedPeersResponse;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user