mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-13 11:50:31 +02:00
Restore of old painting
This commit is contained in:
@@ -19,10 +19,8 @@ bool IntelliImage::loadImage(const QString &fileName){
|
||||
if (!loadedImage.load(fileName))
|
||||
return false;
|
||||
|
||||
// scaled Image to size of Layer
|
||||
// loadedImage = loadedImage.scaled(imageData.size(),Qt::IgnoreAspectRatio);
|
||||
|
||||
imageData = loadedImage.convertToFormat(QImage::Format_ARGB32);
|
||||
loadedImage =loadedImage.scaled(imageData.size(),Qt::IgnoreAspectRatio);
|
||||
imageData= loadedImage.convertToFormat(QImage::Format_ARGB32);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user