diff --git a/src/main.qml b/src/main.qml index a3b97ad..215b53d 100644 --- a/src/main.qml +++ b/src/main.qml @@ -72,8 +72,15 @@ ApplicationWindow { anchors.fill: parent smooth: true antialiasing: true - + fillMode: Image.PreserveAspectFit + // Set a placeholder color to help in debugging + Rectangle { + anchors.fill: parent + color: "#ff0000" // Red to make it stand out + visible: source === "" // Show if the image source is missing or empty + } } + } Rectangle {