equal
deleted
inserted
replaced
437 CNT_ENTRY_ARGS( contactId ) |
437 CNT_ENTRY_ARGS( contactId ) |
438 |
438 |
439 bool foundContact = false; |
439 bool foundContact = false; |
440 |
440 |
441 QContactFetchHint nameOnlyFetchHint; |
441 QContactFetchHint nameOnlyFetchHint; |
442 QStringList details; |
442 /*QStringList details; |
443 details << QContactDisplayLabel::DefinitionName; |
443 details << QContactDisplayLabel::DefinitionName; |
444 nameOnlyFetchHint.setDetailDefinitionsHint(details); |
444 nameOnlyFetchHint.setDetailDefinitionsHint(details);*/ |
445 nameOnlyFetchHint.setOptimizationHints(QContactFetchHint::NoRelationships); |
445 nameOnlyFetchHint.setOptimizationHints(QContactFetchHint::NoRelationships); |
446 QContact contact = mContactManager->contact(contactId, nameOnlyFetchHint); |
446 QContact contact = mContactManager->contact(contactId, nameOnlyFetchHint); |
447 |
447 |
448 if (mContactManager->error() == QContactManager::NoError) { |
448 if (mContactManager->error() == QContactManager::NoError) { |
449 contactName = contact.displayLabel(); |
449 contactName = contact.displayLabel(); |
646 */ |
646 */ |
647 void CntCache::onShutdown() |
647 void CntCache::onShutdown() |
648 { |
648 { |
649 CNT_ENTRY |
649 CNT_ENTRY |
650 |
650 |
651 delete this; |
651 deleteLater(); |
652 |
652 |
653 CNT_EXIT |
653 CNT_EXIT |
654 } |
654 } |
655 |
655 |
656 |
656 |