mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Fix transparency of speed limits icons
Dropped dependency on Qt gif library
This commit is contained in:
@@ -190,10 +190,10 @@ public slots:
|
||||
|
||||
void updateAltSpeedsBtn(bool alternative) {
|
||||
if(alternative) {
|
||||
altSpeedsBtn->setIcon(QIcon(":/Icons/slow.gif"));
|
||||
altSpeedsBtn->setIcon(QIcon(":/Icons/slow.png"));
|
||||
altSpeedsBtn->setToolTip(tr("Click to disable alternative speed limits"));
|
||||
} else {
|
||||
altSpeedsBtn->setIcon(QIcon(":/Icons/slow_off.gif"));
|
||||
altSpeedsBtn->setIcon(QIcon(":/Icons/slow_off.png"));
|
||||
altSpeedsBtn->setToolTip(tr("Click to enable alternative speed limits"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user