Use `file-text` icon for log as it looks more in-line with the other icons
This commit is contained in:
parent
e81166cd79
commit
3d2930cb1d
|
@ -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
|
||||
|
|
|
@ -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"));
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue