Commit b4fcc14b authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

PreviewArea: Fix warning

parent dcfdbcf8
......@@ -27,6 +27,6 @@ Rectangle {
Image {
fillMode: Image.PreserveAspectCrop
anchors.fill: parent
source: "file://" + imageCapture.capturedImagePath
source: imageCapture.capturedImagePath ? "file://" + imageCapture.capturedImagePath : ""
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment