mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 08:43:08 -07:00
Fix alternative speeds tooltip
This commit is contained in:
parent
4828a05ced
commit
6a3d0da4ad
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue