Removed superfluous check

This commit is contained in:
Maurizio Gavioli 2012-11-01 00:40:48 +01:00
parent 0b6e7ccafb
commit abb5386154

View file

@ -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;
}