added missing change

This commit is contained in:
thrust26 2023-08-21 22:51:43 +02:00
parent 856ece86d0
commit 2134eede62

View File

@ -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();