diff --git a/qml/content/CollageRenderer.qml b/qml/content/CollageRenderer.qml index e15d4dd..e961cfc 100644 --- a/qml/content/CollageRenderer.qml +++ b/qml/content/CollageRenderer.qml @@ -165,9 +165,9 @@ Item { renderer.grabToImage(function(result) { if (result) { console.log("Image grabbed successfully"); - var success = result.saveToFile(filename, Qt.size(backgroundRect.width, backgroundRect.height)); + var success = result.saveToFile(filename); if (success) { - console.log("Image saved successfully to " + filename + " with width: " + Number(background.width).toString() + " - height: " + Number(background.height).toString()); + console.log("Image saved successfully to " + filename); savedFilename = filename; } else { console.log("Failed to save image to " + filename);