Fix ForkAwesome icons in plasmoid
This commit is contained in:
parent
68bc50d46c
commit
04a57c7e9f
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue