more clean up for feature selecting a random port when starts up

This commit is contained in:
tungnian lee
2012-09-01 14:03:28 -07:00
committed by sledgehammer999
parent 75e28bb3e6
commit 2de8b9112d
4 changed files with 21 additions and 27 deletions

View File

@@ -107,8 +107,6 @@ public:
inline bool isLSDEnabled() const { return LSDEnabled; }
inline bool isPexEnabled() const { return PeXEnabled; }
inline bool isQueueingEnabled() const { return queueingEnabled; }
bool isRandomPortset() { return randomPortSet; };
void setRandomPortset(bool set);
public slots:
QTorrentHandle addTorrent(QString path, bool fromScanDir = false, QString from_url = QString(), bool resumed = false);
@@ -259,7 +257,7 @@ private:
bool m_torrentExportEnabled;
bool m_finishedTorrentExportEnabled;
bool appendqBExtension;
bool randomPortSet;
bool m_randomPortEnabled;
QString defaultSavePath;
QString defaultTempPath;
// IP filtering