From ec3f8783720b7a8909d19fea49d53ccec9afa7ce Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Thu, 12 Apr 2007 20:36:27 +0000 Subject: [PATCH] - Updated alpha version --- src/allocationDlg.h | 3 ++- src/src.pro | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/allocationDlg.h b/src/allocationDlg.h index 9e2cd6d31..66db2b6af 100644 --- a/src/allocationDlg.h +++ b/src/allocationDlg.h @@ -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); diff --git a/src/src.pro b/src/src.pro index 478324dc4..bce7637a4 100644 --- a/src/src.pro +++ b/src/src.pro @@ -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