From 108da8503b95bbab57b601fdf224e78bf06b0ef6 Mon Sep 17 00:00:00 2001 From: Timm Date: Fri, 28 Jun 2024 15:17:09 +0200 Subject: [PATCH] remove size from arguments list --- qml/content/CollageRenderer.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);