mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 16:37:21 -06:00
Converted remaining icons to svg
This commit is contained in:
committed by
sledgehammer999
parent
f3c65f34b6
commit
9f8f9b6702
@@ -139,8 +139,8 @@ OptionsDialog::OptionsDialog(QWidget *parent)
|
||||
|
||||
m_ui->IpFilterRefreshBtn->setIcon(GuiIconProvider::instance()->getIcon("view-refresh"));
|
||||
|
||||
m_ui->labelGlobalRate->setPixmap(Utils::Gui::scaledPixmap(":/icons/slow_off.png", this, 16));
|
||||
m_ui->labelAltRate->setPixmap(Utils::Gui::scaledPixmap(":/icons/slow.png", this, 16));
|
||||
m_ui->labelGlobalRate->setPixmap(Utils::Gui::scaledPixmap(":/icons/slow_off.svg", this, 16));
|
||||
m_ui->labelAltRate->setPixmap(Utils::Gui::scaledPixmap(":/icons/slow.svg", this, 16));
|
||||
|
||||
m_ui->deleteTorrentWarningIcon->setPixmap(QApplication::style()->standardIcon(QStyle::SP_MessageBoxCritical).pixmap(16, 16));
|
||||
m_ui->deleteTorrentWarningIcon->hide();
|
||||
|
||||
@@ -231,12 +231,12 @@ void StatusBar::refresh()
|
||||
void StatusBar::updateAltSpeedsBtn(bool alternative)
|
||||
{
|
||||
if (alternative) {
|
||||
m_altSpeedsBtn->setIcon(QIcon(":/icons/slow.png"));
|
||||
m_altSpeedsBtn->setIcon(QIcon(":/icons/slow.svg"));
|
||||
m_altSpeedsBtn->setToolTip(tr("Click to switch to regular speed limits"));
|
||||
m_altSpeedsBtn->setDown(true);
|
||||
}
|
||||
else {
|
||||
m_altSpeedsBtn->setIcon(QIcon(":/icons/slow_off.png"));
|
||||
m_altSpeedsBtn->setIcon(QIcon(":/icons/slow_off.svg"));
|
||||
m_altSpeedsBtn->setToolTip(tr("Click to switch to alternative speed limits"));
|
||||
m_altSpeedsBtn->setDown(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user