Browse Source

- Updated alpha version

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
ec3f878372
  1. 3
      src/allocationDlg.h
  2. 2
      src/src.pro

3
src/allocationDlg.h

@ -57,11 +57,12 @@ class BandwidthAllocationDialog : public QDialog, private Ui_bandwidth_dlg { @@ -57,11 +57,12 @@ class BandwidthAllocationDialog : public QDialog, private Ui_bandwidth_dlg {
if(!nbTorrents) close();
int val;
if(nbTorrents == 1){
torrent_handle h = handles[0];
torrent_handle h = handles.at(0);
if(uploadMode)
val = h.upload_limit();
else
val = h.download_limit();
qDebug("Bandwidth limit: %d", val);
if(val > bandwidthSlider->maximum() || val < bandwidthSlider->minimum())
val = -1;
bandwidthSlider->setValue(val);

2
src/src.pro

@ -11,7 +11,7 @@ TARGET = qbittorrent @@ -11,7 +11,7 @@ TARGET = qbittorrent
CONFIG += qt thread x11 network
# Update this VERSION for each release
DEFINES += VERSION=\\\"v0.10.0alpha6\\\"
DEFINES += VERSION=\\\"v0.10.0alpha7\\\"
DEFINES += VERSION_MAJOR=0
DEFINES += VERSION_MINOR=10
DEFINES += VERSION_BUGFIX=0

Loading…
Cancel
Save