show the path that we failed to find as well as the abstract key

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=762850
This commit is contained in:
Aaron J. Seigo 2008-01-18 00:10:27 +00:00
parent 467eadedda
commit 940ccf63e9

View File

@ -99,7 +99,8 @@ bool Package::isValid() const
foreach (const char *file, d->structure.requiredFiles()) {
if (!QFile::exists(d->basePath + "contents/" + d->structure.path(file))) {
kWarning(505) << "Could not find required file" << file;
kWarning(505) << "Could not find required file" << file << ", look in"
<< d->basePath + "contents/" + d->structure.path(file) << endl;
d->valid = false;
return false;
}