Commit 45b70793 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

comment some debug

parent 6a63ed54
...@@ -68,6 +68,7 @@ GravatarResolvUrlJob::~GravatarResolvUrlJob() ...@@ -68,6 +68,7 @@ GravatarResolvUrlJob::~GravatarResolvUrlJob()
bool GravatarResolvUrlJob::canStart() const bool GravatarResolvUrlJob::canStart() const
{ {
if (PimCommon::NetworkManager::self()->networkConfigureManager()->isOnline()) { if (PimCommon::NetworkManager::self()->networkConfigureManager()->isOnline()) {
//qCDebug(GRAVATAR_LOG) << "email " << d->mEmail;
return !d->mEmail.trimmed().isEmpty() && (d->mEmail.contains(QLatin1Char('@'))); return !d->mEmail.trimmed().isEmpty() && (d->mEmail.contains(QLatin1Char('@')));
} else { } else {
return false; return false;
......
...@@ -139,7 +139,7 @@ void GravatarCache::saveMissingGravatar(const Hash &hash) ...@@ -139,7 +139,7 @@ void GravatarCache::saveMissingGravatar(const Hash &hash)
QPixmap GravatarCache::loadGravatarPixmap(const Hash &hash, bool &gravatarStored) QPixmap GravatarCache::loadGravatarPixmap(const Hash &hash, bool &gravatarStored)
{ {
gravatarStored = false; gravatarStored = false;
qCDebug(GRAVATAR_LOG) << " hashStr" << hash.hexString(); //qCDebug(GRAVATAR_LOG) << " hashStr" << hash.hexString();
if (!hash.isValid()) { if (!hash.isValid()) {
return QPixmap(); return QPixmap();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment