diff --git a/src/qtlibtorrent/qbtsession.h b/src/qtlibtorrent/qbtsession.h index 333b57687..2dc723fb2 100644 --- a/src/qtlibtorrent/qbtsession.h +++ b/src/qtlibtorrent/qbtsession.h @@ -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: