Use `file-text` icon for log as it looks more in-line with the other icons

This commit is contained in:
Martchus 2021-11-13 22:49:45 +01:00
parent e81166cd79
commit 3d2930cb1d
3 changed files with 3 additions and 3 deletions

View File

@ -372,7 +372,7 @@ ColumnLayout {
}
ToolButton {
id: showLogButton
icon.source: "image://fa/file-code-o"
icon.source: "image://fa/file-text"
onClicked: {
plasmoid.nativeInterface.showLog()
plasmoid.expanded = false

View File

@ -59,7 +59,7 @@ TrayIcon::TrayIcon(const QString &connectionConfig, QObject *parent)
QIcon::fromTheme(QStringLiteral("folder-sync"), QIcon(QStringLiteral(":/icons/hicolor/scalable/actions/folder-sync.svg"))),
tr("Rescan all")),
&QAction::triggered, &widget.connection(), &SyncthingConnection::rescanAllDirs);
connect(m_contextMenu.addAction(QIcon(QStringLiteral("file-code-o.fa")), tr("Log")), &QAction::triggered, &widget, &TrayWidget::showLog);
connect(m_contextMenu.addAction(QIcon(QStringLiteral("file-text.fa")), tr("Log")), &QAction::triggered, &widget, &TrayWidget::showLog);
m_errorsAction = m_contextMenu.addAction(
QIcon::fromTheme(QStringLiteral("emblem-error"), QIcon(QStringLiteral(":/icons/hicolor/scalable/emblems/8/emblem-error.svg"))),
tr("Show internal errors"));

View File

@ -127,7 +127,7 @@ TrayWidget::TrayWidget(TrayMenu *parent)
cornerFrameLayout->addWidget(restartButton);
auto *showLogButton = new QPushButton(m_cornerFrame);
showLogButton->setToolTip(tr("Show Syncthing log"));
showLogButton->setIcon(QIcon(QStringLiteral("file-code-o.fa")));
showLogButton->setIcon(QIcon(QStringLiteral("file-text.fa")));
showLogButton->setFlat(true);
cornerFrameLayout->addWidget(showLogButton);
auto *scanAllButton = new QPushButton(m_cornerFrame);