mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 12:00:16 -07:00
Add support for adding multiple local torrents at once (Web UI)
This commit is contained in:
parent
6d31af676e
commit
a98ad63d8b
6 changed files with 123 additions and 60 deletions
|
@ -45,7 +45,7 @@ public:
|
|||
const QByteArray& message() const;
|
||||
QString get(const QString& key) const;
|
||||
QString post(const QString& key) const;
|
||||
const QByteArray& torrent() const;
|
||||
const QList<QByteArray>& torrents() const;
|
||||
void writeHeader(const QByteArray& ba);
|
||||
void writeMessage(const QByteArray& ba);
|
||||
inline const QHttpRequestHeader& header() const { return m_header; }
|
||||
|
@ -57,7 +57,7 @@ private:
|
|||
QString m_path;
|
||||
QHash<QString, QString> m_postMap;
|
||||
QHash<QString, QString> m_getMap;
|
||||
QByteArray m_torrentContent;
|
||||
QList<QByteArray> m_torrents;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue