improve packageurlinterceptor errors

if it's going to prevent something to load, at least explain a bit what's
going on.

Reviewed by David Edmundson
This commit is contained in:
Aleix Pol 2015-02-12 16:06:46 +01:00
parent 4909a2f471
commit fbe756bd39

View File

@ -143,6 +143,7 @@ QUrl PackageUrlInterceptor::intercept(const QUrl &path, QQmlAbstractUrlIntercept
return path;
}
}
qWarning() << "WARNING: Access denied for URL" << path << m_package.path();
return QUrl::fromLocalFile( allowedPaths.first() + "/org/kde/plasma/accessdenied/qmldir");
}