mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 16:58:06 -06:00
Update QTorrentHandle
Guaranteed to accept strings with both native and qt-style separators; guaranteed to use native separators with libtorrent API
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include <QHash>
|
||||
|
||||
class TorrentTempData {
|
||||
// This class stores strings w/o modifying separators
|
||||
public:
|
||||
static bool hasTempData(const QString &hash) {
|
||||
return data.contains(hash);
|
||||
@@ -151,6 +152,7 @@ private:
|
||||
};
|
||||
|
||||
class TorrentPersistentData {
|
||||
// This class stores strings w/o modifying separators
|
||||
public:
|
||||
enum RatioLimit {
|
||||
USE_GLOBAL_RATIO = -2,
|
||||
|
||||
Reference in New Issue
Block a user