Refractored fileName to more intuitive filePath

This commit is contained in:
2019-12-20 09:15:02 +01:00
parent 0411c49534
commit ab8590c4fe
2 changed files with 4 additions and 4 deletions

View File

@@ -11,12 +11,12 @@ IntelliImage::~IntelliImage(){
}
bool IntelliImage::loadImage(const QString &fileName){
bool IntelliImage::loadImage(const QString &filePath){
// Holds the image
QImage loadedImage;
// If the image wasn't loaded leave this function
if (!loadedImage.load(fileName))
if (!loadedImage.load(filePath))
return false;
// scaled Image to size of Layer