mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-13 03:40:31 +02:00
Refractored fileName to more intuitive filePath
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user