mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-12 18:24:58 +08:00
- Updated alpha version
This commit is contained in:
parent
9885169baf
commit
ec3f878372
@ -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);
|
||||
|
@ -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…
Reference in New Issue
Block a user