--- package.cpp (revision 732162) +++ package.cpp (working copy) @@ -76,14 +76,14 @@ } foreach (const char *dir, d->structure.requiredDirectories()) { - if (QFile::exists(d->basePath + '/' + d->structure.path(dir))) { + if (!QFile::exists(d->basePath + d->structure.path(dir))) { d->valid = false; return false; } } foreach (const char *file, d->structure.requiredFiles()) { - if (QFile::exists(d->basePath + '/' + d->structure.path(file))) { + if (!QFile::exists(d->basePath + d->structure.path(file))) { d->valid = false; return false; }