mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 00:17:23 -06:00
- Torrents can now be rechecked from Web UI (patch by Stephanos Antaris)
- Torrents paused/resumed state is not reflected in GUI if the action was executed from Web UI
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
|
||||
class QTcpSocket;
|
||||
class HttpServer;
|
||||
class bittorrent;
|
||||
|
||||
class HttpConnection : public QObject
|
||||
{
|
||||
@@ -45,6 +46,7 @@ class HttpConnection : public QObject
|
||||
private:
|
||||
QTcpSocket *socket;
|
||||
HttpServer *parent;
|
||||
bittorrent *BTSession;
|
||||
|
||||
protected:
|
||||
HttpRequestParser parser;
|
||||
@@ -58,9 +60,11 @@ class HttpConnection : public QObject
|
||||
void respondNotFound();
|
||||
void processDownloadedFile(QString, QString);
|
||||
void handleDownloadFailure(QString, QString);
|
||||
void recheckTorrent(QString hash);
|
||||
void recheckAllTorrents();
|
||||
|
||||
public:
|
||||
HttpConnection(QTcpSocket *socket, HttpServer *parent);
|
||||
HttpConnection(QTcpSocket *socket, bittorrent* BTSession, HttpServer *parent);
|
||||
~HttpConnection();
|
||||
|
||||
private slots:
|
||||
|
||||
Reference in New Issue
Block a user