Fix ForkAwesome icons in plasmoid

This commit is contained in:
Martchus 2021-09-11 20:39:37 +02:00
parent 68bc50d46c
commit 04a57c7e9f
1 changed files with 3 additions and 3 deletions

View File

@ -7,17 +7,17 @@ RowLayout {
property string context: "?" property string context: "?"
IconLabel { IconLabel {
iconSource: plasmoid.nativeInterface.loadForkAwesomeIcon("file") iconSource: plasmoid.nativeInterface.loadForkAwesomeIcon("file-o")
text: statistics.files !== undefined ? statistics.files : "?" text: statistics.files !== undefined ? statistics.files : "?"
tooltip: context + qsTr(" files") tooltip: context + qsTr(" files")
} }
IconLabel { IconLabel {
iconSource: plasmoid.nativeInterface.loadForkAwesomeIcon("folder") iconSource: plasmoid.nativeInterface.loadForkAwesomeIcon("folder-o")
text: statistics.dirs !== undefined ? statistics.dirs : "?" text: statistics.dirs !== undefined ? statistics.dirs : "?"
tooltip: context + qsTr(" directories") tooltip: context + qsTr(" directories")
} }
IconLabel { IconLabel {
iconSource: plasmoid.nativeInterface.loadForkAwesomeIcon("hdd") iconSource: plasmoid.nativeInterface.loadForkAwesomeIcon("hdd-o")
text: statistics.bytes !== undefined ? plasmoid.nativeInterface.formatFileSize( text: statistics.bytes !== undefined ? plasmoid.nativeInterface.formatFileSize(
statistics.bytes) : "?" statistics.bytes) : "?"
tooltip: context + qsTr(" size") tooltip: context + qsTr(" size")