mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Fix transparency of speed limits icons
Dropped dependency on Qt gif library
This commit is contained in:
parent
ef7e2abdaf
commit
31017602fc
Binary file not shown.
Before Width: | Height: | Size: 1.8 KiB |
BIN
src/Icons/slow.png
Normal file
BIN
src/Icons/slow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.7 KiB |
BIN
src/Icons/slow_off.png
Normal file
BIN
src/Icons/slow_off.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
@ -6,12 +6,12 @@
|
||||
<file>Icons/url.png</file>
|
||||
<file>Icons/locale.png</file>
|
||||
<file>Icons/loading.png</file>
|
||||
<file>Icons/slow_off.gif</file>
|
||||
<file>Icons/slow.png</file>
|
||||
<file>Icons/magnet.png</file>
|
||||
<file>Icons/sphere.png</file>
|
||||
<file>Icons/slow_off.png</file>
|
||||
<file>Icons/uparrow.png</file>
|
||||
<file>Icons/rss16.png</file>
|
||||
<file>Icons/slow.gif</file>
|
||||
<file>Icons/skin/checkingUP.png</file>
|
||||
<file>Icons/skin/bg-handle-horizontal.gif</file>
|
||||
<file>Icons/skin/play.png</file>
|
||||
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
@ -1478,6 +1478,16 @@ QGroupBox {
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_5">
|
||||
<property name="text">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../icons.qrc">:/Icons/slow_off.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer>
|
||||
<property name="orientation">
|
||||
@ -1588,7 +1598,7 @@ QGroupBox {
|
||||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../icons.qrc">:/Icons/slow.gif</pixmap>
|
||||
<pixmap resource="../icons.qrc">:/Icons/slow.png</pixmap>
|
||||
</property>
|
||||
<property name="scaledContents">
|
||||
<bool>false</bool>
|
||||
|
Loading…
Reference in New Issue
Block a user