summaryrefslogtreecommitdiff
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/CachingImage.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/CachingImage.qml b/widgets/CachingImage.qml
index 3382615..8f7f711 100644
--- a/widgets/CachingImage.qml
+++ b/widgets/CachingImage.qml
@@ -43,8 +43,8 @@ Image {
property string path
command: ["sha256sum", path]
- stdout: SplitParser {
- onRead: data => root.hash = data.split(" ")[0]
+ stdout: StdioCollector {
+ onStreamFinished: root.hash = text.split(" ")[0]
}
}
}