mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Reduce number of DownloadManager signals
This commit is contained in:
@@ -40,9 +40,12 @@ class GeoIPDatabase;
|
||||
|
||||
namespace Net
|
||||
{
|
||||
struct DownloadResult;
|
||||
|
||||
class GeoIPManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(GeoIPManager)
|
||||
|
||||
public:
|
||||
static void initInstance();
|
||||
@@ -55,12 +58,11 @@ namespace Net
|
||||
|
||||
private slots:
|
||||
void configure();
|
||||
void downloadFinished(const QString &url, QByteArray data);
|
||||
void downloadFailed(const QString &url, const QString &reason);
|
||||
void downloadFinished(const DownloadResult &result);
|
||||
|
||||
private:
|
||||
GeoIPManager();
|
||||
~GeoIPManager();
|
||||
~GeoIPManager() override;
|
||||
|
||||
void loadDatabase();
|
||||
void manageDatabaseUpdate();
|
||||
|
||||
Reference in New Issue
Block a user