Use ForkAwesome icons in consistency with Syncthing's official GUI

* Use single cog for settings (instead of cogs)
* Use "refresh" for re-scanning all dirs (instead of search)
This commit is contained in:
Martchus 2021-11-02 18:01:00 +01:00
parent ba418d9bfb
commit c1f3e57a9c
3 changed files with 4 additions and 4 deletions

View File

@ -387,7 +387,7 @@ ColumnLayout {
}
ToolButton {
id: rescanAllDirsButton
icon.source: "image://fa/search"
icon.source: "image://fa/refresh"
onClicked: plasmoid.nativeInterface.connection.rescanAllDirs()
PlasmaComponents3.ToolTip {
text: qsTr("Rescan all directories")
@ -399,7 +399,7 @@ ColumnLayout {
}
ToolButton {
id: settingsButton
icon.source: "image://fa/cogs"
icon.source: "image://fa/cog"
onClicked: {
plasmoid.nativeInterface.showSettingsDlg()
plasmoid.expanded = false

View File

@ -132,7 +132,7 @@ TrayWidget::TrayWidget(TrayMenu *parent)
cornerFrameLayout->addWidget(showLogButton);
auto *scanAllButton = new QPushButton(m_cornerFrame);
scanAllButton->setToolTip(tr("Rescan all directories"));
scanAllButton->setIcon(QIcon(QStringLiteral("search.fa")));
scanAllButton->setIcon(QIcon(QStringLiteral("refresh.fa")));
scanAllButton->setFlat(true);
cornerFrameLayout->addWidget(scanAllButton);
m_ui->tabWidget->setCornerWidget(m_cornerFrame, Qt::BottomRightCorner);

View File

@ -110,7 +110,7 @@
<string>Settings</string>
</property>
<property name="icon">
<iconset>cogs.fa</iconset>
<iconset>cog.fa</iconset>
</property>
<property name="flat">
<bool>true</bool>