Removed superfluous check
This commit is contained in:
parent
0b6e7ccafb
commit
abb5386154
1 changed files with 1 additions and 2 deletions
|
@ -357,8 +357,7 @@ bool Image::load(const QString& ss)
|
|||
_linkIsValid = true;
|
||||
_linkPath = fi.canonicalFilePath();
|
||||
_storeItem = imageStore.add(_linkPath, ba);
|
||||
if(_storeItem)
|
||||
_storeItem->reference(this);
|
||||
_storeItem->reference(this);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue