From 2134eede62547c0f1f809ff668a75d76d77dfdd9 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Mon, 21 Aug 2023 22:51:43 +0200 Subject: [PATCH] added missing change --- src/gui/RomImageWidget.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/RomImageWidget.cxx b/src/gui/RomImageWidget.cxx index 856af7250..501384cf2 100644 --- a/src/gui/RomImageWidget.cxx +++ b/src/gui/RomImageWidget.cxx @@ -290,7 +290,8 @@ bool RomImageWidget::loadPng(const string& fileName) try { VariantList metaData; - instance().png().loadImage(fileName, *mySurface, metaData); + double aspectRatio = 1; + instance().png().loadImage(fileName, *mySurface, &aspectRatio, metaData); // Retrieve label for loaded image myLabel.clear();