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