refactor: SettingsDialog set icons in ui where possible

This commit is contained in:
sithlord48 2025-02-26 22:56:46 -05:00 committed by Nick Bolton
parent 088d69fec8
commit 3ae2de52f4
2 changed files with 9 additions and 5 deletions

View file

@ -40,11 +40,6 @@ SettingsDialog::SettingsDialog(
ui->comboTlsKeyLength->setItemIcon(1, QIcon::fromTheme(QStringLiteral("security-medium")));
ui->comboTlsKeyLength->setItemIcon(2, QIcon::fromTheme(QIcon::ThemeIcon::SecurityHigh));
ui->btnTlsRegenCert->setIcon(QIcon::fromTheme(QIcon::ThemeIcon::ViewRefresh));
ui->btnTlsCertPath->setIcon(QIcon::fromTheme(QIcon::ThemeIcon::DocumentOpen));
ui->btnBrowseLog->setIcon(QIcon::fromTheme(QIcon::ThemeIcon::DocumentOpen));
ui->rbIconMono->setIcon(QIcon::fromTheme(QStringLiteral("deskflow-symbolic")));
ui->rbIconColorful->setIcon(QIcon::fromTheme(QStringLiteral("deskflow")));

View file

@ -275,6 +275,9 @@
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::DocumentOpen"/>
</property>
<property name="flat">
<bool>true</bool>
</property>
@ -306,6 +309,9 @@
<property name="text">
<string>Regenerate certificate</string>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::ViewRefresh"/>
</property>
</widget>
</item>
</layout>
@ -562,6 +568,9 @@
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::DocumentOpen"/>
</property>
<property name="flat">
<bool>true</bool>
</property>