summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/encttscfggui.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-09-27 12:37:28 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-07 11:33:21 +0100
commit2e96657c36bca6e26aa96f25809f52437d094a1a (patch)
tree64a65574afc760344882cf558a707030a76063db /rbutil/rbutilqt/encttscfggui.cpp
parent4f1888dfc8a6cff0222bbfa7e925524a84cc3e80 (diff)
downloadrockbox-2e96657c36bca6e26aa96f25809f52437d094a1a.tar.gz
rockbox-2e96657c36bca6e26aa96f25809f52437d094a1a.tar.bz2
rockbox-2e96657c36bca6e26aa96f25809f52437d094a1a.zip
rbutil: Replace most icons with their svg variant.
Replace png icons with svg ones for better HiDPI support. Change-Id: Ifcd5e551dfb764f57324d27741598181ce3acce2
Diffstat (limited to 'rbutil/rbutilqt/encttscfggui.cpp')
-rw-r--r--rbutil/rbutilqt/encttscfggui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/encttscfggui.cpp b/rbutil/rbutilqt/encttscfggui.cpp
index a73b9e76f7..bf3432dc90 100644
--- a/rbutil/rbutilqt/encttscfggui.cpp
+++ b/rbutil/rbutilqt/encttscfggui.cpp
@@ -94,9 +94,9 @@ void EncTtsCfgGui::setUpWindow()
// ok - cancel buttons
QPushButton* okBtn = new QPushButton(tr("Ok"),this);
okBtn->setDefault(true);
- okBtn->setIcon(QIcon(":icons/go-next.png"));
+ okBtn->setIcon(QIcon(":icons/go-next.svg"));
QPushButton* cancelBtn = new QPushButton(tr("Cancel"),this);
- cancelBtn->setIcon(QIcon(":icons/process-stop.png"));
+ cancelBtn->setIcon(QIcon(":icons/process-stop.svg"));
connect(okBtn,SIGNAL(clicked()),this,SLOT(accept()));
connect(cancelBtn,SIGNAL(clicked()),this,SLOT(reject()));
@@ -195,7 +195,7 @@ QWidget* EncTtsCfgGui::createButton(EncTtsSetting* setting)
if(setting->button() == EncTtsSetting::eBROWSEBTN)
{
QPushButton* browsebtn = new QPushButton(tr("Browse"),this);
- browsebtn->setIcon(QIcon(":/icons/system-search.png"));
+ browsebtn->setIcon(QIcon(":/icons/system-search.svg"));
m_browseBtnMap.setMapping(browsebtn,setting);
connect(browsebtn,SIGNAL(clicked()),&m_browseBtnMap,SLOT(map()));
return browsebtn;
@@ -203,7 +203,7 @@ QWidget* EncTtsCfgGui::createButton(EncTtsSetting* setting)
else if(setting->button() == EncTtsSetting::eREFRESHBTN)
{
QPushButton* refreshbtn = new QPushButton(tr("Refresh"),this);
- refreshbtn->setIcon(QIcon(":/icons/view-refresh.png"));
+ refreshbtn->setIcon(QIcon(":/icons/view-refresh.svg"));
connect(refreshbtn,SIGNAL(clicked()),setting,SIGNAL(refresh()));
return refreshbtn;
}