BUGFIX: Do not report PeX as being disabled when DHT is

This commit is contained in:
Christophe Dumez
2011-01-10 21:13:40 +00:00
parent 632c2c5e4a
commit c98ab55e11
2 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
/*
e/*
* Bittorrent Client using Qt4 and libtorrent.
* Copyright (C) 2006 Christophe Dumez
*
@@ -95,7 +95,7 @@ public:
inline ScanFoldersModel* getScanFoldersModel() const { return m_scanFolders; }
inline bool isDHTEnabled() const { return DHTEnabled; }
inline bool isLSDEnabled() const { return LSDEnabled; }
inline bool isPexEnabled() const { return DHTEnabled; }
inline bool isPexEnabled() const { return PeXEnabled; }
inline bool isQueueingEnabled() const { return queueingEnabled; }
public slots: