qml: make dumping errors more chatty

Change-Id: I1471ba9459a1e48a03e26aa5dc008072460447be
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Fawzi Mohamed
2014-01-16 11:48:07 +01:00
parent 671d2d729e
commit 188d50dc1d
2 changed files with 5 additions and 0 deletions

View File

@@ -639,6 +639,9 @@ void ModelManager::updateDocument(Document::Ptr doc)
void ModelManager::updateLibraryInfo(const QString &path, const LibraryInfo &info)
{
if (!info.pluginTypeInfoError().isEmpty())
qDebug() << "Dumping errors for " << path << ":" << info.pluginTypeInfoError();
{
QMutexLocker locker(&m_mutex);
_validSnapshot.insertLibraryInfo(path, info);