mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-06 07:32:29 -06:00
Fix compilation error on Windows
Fix possible encoding problem on Windows (torrent creation tool) Fix compilation with boost >= v1.46
This commit is contained in:
@@ -80,6 +80,7 @@
|
||||
using namespace libtorrent;
|
||||
|
||||
QBtSession* QBtSession::m_instance = 0;
|
||||
const qreal QBtSession::MAX_RATIO = 9999.;
|
||||
|
||||
const int MAX_TRACKER_ERRORS = 2;
|
||||
enum VersionType { NORMAL,ALPHA,BETA,RELEASE_CANDIDATE,DEVEL };
|
||||
|
||||
@@ -66,7 +66,7 @@ class QBtSession : public QObject {
|
||||
Q_DISABLE_COPY(QBtSession)
|
||||
|
||||
public:
|
||||
static const qreal MAX_RATIO = 9999.;
|
||||
static const qreal MAX_RATIO;
|
||||
|
||||
private:
|
||||
explicit QBtSession();
|
||||
|
||||
Reference in New Issue
Block a user