BUGFIX: Disable ETA calculation when ETA column is hidden

This commit is contained in:
Christophe Dumez
2008-07-27 15:41:46 +00:00
parent b77e28fb12
commit bb959ba465
4 changed files with 55 additions and 13 deletions

View File

@@ -78,6 +78,7 @@ class bittorrent : public QObject{
QStringList *queuedDownloads;
QStringList *uploadQueue;
QStringList *queuedUploads;
bool calculateETA;
protected:
QString getSavePath(QString hash);
@@ -175,6 +176,7 @@ class bittorrent : public QObject{
void setTimerScanInterval(int secs);
void setMaxActiveDownloads(int val);
void setMaxActiveTorrents(int val);
void setETACalculation(bool enable);
protected slots:
void scanDirectory();