mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 01:44:26 +00: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();
|
if(!nbTorrents) close();
|
||||||
int val;
|
int val;
|
||||||
if(nbTorrents == 1){
|
if(nbTorrents == 1){
|
||||||
torrent_handle h = handles[0];
|
torrent_handle h = handles.at(0);
|
||||||
if(uploadMode)
|
if(uploadMode)
|
||||||
val = h.upload_limit();
|
val = h.upload_limit();
|
||||||
else
|
else
|
||||||
val = h.download_limit();
|
val = h.download_limit();
|
||||||
|
qDebug("Bandwidth limit: %d", val);
|
||||||
if(val > bandwidthSlider->maximum() || val < bandwidthSlider->minimum())
|
if(val > bandwidthSlider->maximum() || val < bandwidthSlider->minimum())
|
||||||
val = -1;
|
val = -1;
|
||||||
bandwidthSlider->setValue(val);
|
bandwidthSlider->setValue(val);
|
||||||
|
@ -11,7 +11,7 @@ TARGET = qbittorrent
|
|||||||
CONFIG += qt thread x11 network
|
CONFIG += qt thread x11 network
|
||||||
|
|
||||||
# Update this VERSION for each release
|
# Update this VERSION for each release
|
||||||
DEFINES += VERSION=\\\"v0.10.0alpha6\\\"
|
DEFINES += VERSION=\\\"v0.10.0alpha7\\\"
|
||||||
DEFINES += VERSION_MAJOR=0
|
DEFINES += VERSION_MAJOR=0
|
||||||
DEFINES += VERSION_MINOR=10
|
DEFINES += VERSION_MINOR=10
|
||||||
DEFINES += VERSION_BUGFIX=0
|
DEFINES += VERSION_BUGFIX=0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user