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: "?"
IconLabel {
iconSource: plasmoid.nativeInterface.loadForkAwesomeIcon("file")
iconSource: plasmoid.nativeInterface.loadForkAwesomeIcon("file-o")
text: statistics.files !== undefined ? statistics.files : "?"
tooltip: context + qsTr(" files")
}
IconLabel {
iconSource: plasmoid.nativeInterface.loadForkAwesomeIcon("folder")
iconSource: plasmoid.nativeInterface.loadForkAwesomeIcon("folder-o")
text: statistics.dirs !== undefined ? statistics.dirs : "?"
tooltip: context + qsTr(" directories")
}
IconLabel {
iconSource: plasmoid.nativeInterface.loadForkAwesomeIcon("hdd")
iconSource: plasmoid.nativeInterface.loadForkAwesomeIcon("hdd-o")
text: statistics.bytes !== undefined ? plasmoid.nativeInterface.formatFileSize(
statistics.bytes) : "?"
tooltip: context + qsTr(" size")