summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-12-05 08:50:23 +0100
committerMontel Laurent <[email protected]>2017-12-05 08:50:23 +0100
commitd967fca482abf8f2d4ad8cea7e5ad05eb83cbfce (patch)
tree364b2f736a8cf1f53ad58b589d218a050d42459e
parent24352eaaa790ad5b409673824bb3fdb35d6efe02 (diff)
Use qCritical here
-rw-r--r--resources/vcarddir/vcarddirresource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/vcarddir/vcarddirresource.cpp b/resources/vcarddir/vcarddirresource.cpp
index b818289..f747994 100644
--- a/resources/vcarddir/vcarddirresource.cpp
+++ b/resources/vcarddir/vcarddirresource.cpp
@@ -93,7 +93,7 @@ bool VCardDirResource::loadAddressees()
mAddressees.insert(addr.uid(), addr);
}
} else {
- qDebug() << " file can't be load " << it.filePath();
+ qCritical() << " file can't be load " << it.filePath();
}
}
}
@@ -181,7 +181,7 @@ void VCardDirResource::itemChanged(const Akonadi::Item &item, const QSet<QByteAr
newItem.setRemoteId(addressee.uid());
changeCommitted(newItem);
} else {
- qDebug() << " We can't write in file " << file.fileName();
+ qCritical() << " We can't write in file " << file.fileName();
}
} else {
changeProcessed();