Started to simplify program preferences (merged UPnP/NAT-PMP)

This commit is contained in:
Christophe Dumez
2010-12-05 16:29:18 +00:00
parent 8bcb51ba9c
commit 3feffdf8fa
9 changed files with 21 additions and 69 deletions

View File

@@ -145,7 +145,6 @@ public slots:
void setDownloadLimit(QString hash, long val);
void setUploadLimit(QString hash, long val);
void enableUPnP(bool b);
void enableNATPMP(bool b);
void enableLSD(bool b);
bool enableDHT(bool b);
#ifdef DISABLE_GUI
@@ -232,7 +231,6 @@ private:
float ratio_limit;
int high_ratio_action;
bool UPnPEnabled;
bool NATPMPEnabled;
bool LSDEnabled;
bool DHTEnabled;
int current_dht_port;