mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-12 18:24:58 +08:00
Fix alternative speeds tooltip
This commit is contained in:
parent
4828a05ced
commit
6a3d0da4ad
@ -197,11 +197,11 @@ public slots:
|
|||||||
void updateAltSpeedsBtn(bool alternative) {
|
void updateAltSpeedsBtn(bool alternative) {
|
||||||
if(alternative) {
|
if(alternative) {
|
||||||
altSpeedsBtn->setIcon(QIcon(":/Icons/slow.png"));
|
altSpeedsBtn->setIcon(QIcon(":/Icons/slow.png"));
|
||||||
altSpeedsBtn->setToolTip(tr("Click to switch to alternative speed limits"));
|
altSpeedsBtn->setToolTip(tr("Click to switch to regular speed limits"));
|
||||||
altSpeedsBtn->setDown(true);
|
altSpeedsBtn->setDown(true);
|
||||||
} else {
|
} else {
|
||||||
altSpeedsBtn->setIcon(QIcon(":/Icons/slow_off.png"));
|
altSpeedsBtn->setIcon(QIcon(":/Icons/slow_off.png"));
|
||||||
altSpeedsBtn->setToolTip(tr("Click to switch to regular speed limits"));
|
altSpeedsBtn->setToolTip(tr("Click to switch to alternative speed limits"));
|
||||||
altSpeedsBtn->setDown(false);
|
altSpeedsBtn->setDown(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user