2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

xcode project ready for new docs design

This commit is contained in:
John Preston
2015-12-24 23:29:33 +03:00
parent 4ed2d75c74
commit 890d4a816f
8 changed files with 52 additions and 23 deletions

View File

@@ -1099,10 +1099,10 @@ public:
automaticLoad(0);
if (s->img->isNull() && loaded()) {
if (_data.isEmpty()) {
const FileLocation &location(location(true));
if (location.accessEnable()) {
s->img = ImagePtr(location.name());
location.accessDisable();
const FileLocation &loc(location(true));
if (loc.accessEnable()) {
s->img = ImagePtr(loc.name());
loc.accessDisable();
}
} else {
s->img = ImagePtr(_data);