diff -r 138b7c5c3c59 -r 5b5c77c7f3dd src/download.cpp --- a/src/download.cpp Sat Aug 24 16:30:30 2013 +0300 +++ b/src/download.cpp Sat Aug 24 16:52:45 2013 +0300 @@ -413,7 +413,7 @@ // from unknown file references, try resolve that by downloading the reference. // This is why downloading a part may end up downloading multiple files, as // it resolves dependencies. - for (LDObject* obj : *f) { + for (LDObject* obj : f->objects()) { LDError* err = dynamic_cast (obj); if (!err || err->fileRef().isEmpty()) continue;