mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Use checkable action for alternative speed limits and display button as "pressed when enabled"
This commit is contained in:
@@ -195,6 +195,7 @@ public slots:
|
||||
if(alternative) {
|
||||
altSpeedsBtn->setIcon(QIcon(":/Icons/slow.png"));
|
||||
altSpeedsBtn->setToolTip(tr("Click to disable alternative speed limits"));
|
||||
altSpeedsBtn->setDown(true);
|
||||
} else {
|
||||
altSpeedsBtn->setIcon(QIcon(":/Icons/slow_off.png"));
|
||||
altSpeedsBtn->setToolTip(tr("Click to enable alternative speed limits"));
|
||||
|
||||
Reference in New Issue
Block a user