From de3205df007cbab0c73d07305691d5f7e1c09448 Mon Sep 17 00:00:00 2001 From: Martchus Date: Fri, 15 Oct 2021 23:16:58 +0200 Subject: [PATCH] Use ForkAwesome icons also in RecentChangesPage of Plasmoid --- .../package/contents/ui/RecentChangesPage.qml | 18 ++++++++++++------ .../translations/syncthingplasmoid_de_DE.ts | 4 ++-- .../translations/syncthingplasmoid_en_US.ts | 4 ++-- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/plasmoid/package/contents/ui/RecentChangesPage.qml b/plasmoid/package/contents/ui/RecentChangesPage.qml index 2b9f1b8..692fb3f 100644 --- a/plasmoid/package/contents/ui/RecentChangesPage.qml +++ b/plasmoid/package/contents/ui/RecentChangesPage.qml @@ -40,11 +40,13 @@ Item { Item { width: units.smallSpacing } - PlasmaCore.IconItem { + Image { Layout.preferredWidth: units.iconSizes.small Layout.preferredHeight: units.iconSizes.small Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft - source: "change-date-symbolic" + height: parent.height + fillMode: Image.PreserveAspectFit + source: "image://fa/calendar" } PlasmaComponents3.Label { Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft @@ -54,11 +56,13 @@ Item { Item { width: units.smallSpacing } - PlasmaCore.IconItem { + Image { Layout.preferredWidth: units.iconSizes.small Layout.preferredHeight: units.iconSizes.small Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft - source: "network-server-symbolic" + height: parent.height + fillMode: Image.PreserveAspectFit + source: "image://fa/qrcode" } PlasmaComponents3.Label { Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft @@ -68,11 +72,13 @@ Item { } RowLayout { Layout.fillWidth: true - PlasmaCore.IconItem { + Image { Layout.preferredWidth: units.iconSizes.small Layout.preferredHeight: units.iconSizes.small Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft - source: itemType === "file" ? "view-refresh-symbolic" : "folder-sync" + height: parent.height + fillMode: Image.PreserveAspectFit + source: itemType === "file" ? "image://fa/file-o" : "image://fa/folder-o" } PlasmaComponents3.Label { text: directoryId + ": " diff --git a/plasmoid/translations/syncthingplasmoid_de_DE.ts b/plasmoid/translations/syncthingplasmoid_de_DE.ts index 25cb5d0..b0c6827 100644 --- a/plasmoid/translations/syncthingplasmoid_de_DE.ts +++ b/plasmoid/translations/syncthingplasmoid_de_DE.ts @@ -281,12 +281,12 @@ RecentChangesPage - + Copy path Pfad kopieren - + Copy device ID Geräte-ID kopieren diff --git a/plasmoid/translations/syncthingplasmoid_en_US.ts b/plasmoid/translations/syncthingplasmoid_en_US.ts index 5748372..8971d0a 100644 --- a/plasmoid/translations/syncthingplasmoid_en_US.ts +++ b/plasmoid/translations/syncthingplasmoid_en_US.ts @@ -280,12 +280,12 @@ RecentChangesPage - + Copy path - + Copy device ID