|
|
|
@ -77,7 +77,7 @@ void CreateNewContactJob::slotCollectionsFetched(KJob*job) |
|
|
|
} |
|
|
|
} |
|
|
|
if ( canCreateItemCollections.isEmpty() ) { |
|
|
|
if ( canCreateItemCollections.isEmpty() ) { |
|
|
|
Akonadi::AgentTypeDialog dlg( mParentWidget ); |
|
|
|
Akonadi::AgentTypeDialog dlg( mParentWidget ); |
|
|
|
dlg.setCaption( i18n("Add address book") ); |
|
|
|
dlg.setCaption( i18n("Add to Address Book") ); |
|
|
|
dlg.agentFilterProxyModel()->addMimeTypeFilter(KABC::Addressee::mimeType()); |
|
|
|
dlg.agentFilterProxyModel()->addMimeTypeFilter(KABC::Addressee::mimeType()); |
|
|
|
dlg.agentFilterProxyModel()->addMimeTypeFilter(KABC::ContactGroup::mimeType()); |
|
|
|
dlg.agentFilterProxyModel()->addMimeTypeFilter(KABC::ContactGroup::mimeType()); |
|
|
|
dlg.agentFilterProxyModel()->addCapabilityFilter( QLatin1String( "Resource" ) ); |
|
|
|
dlg.agentFilterProxyModel()->addCapabilityFilter( QLatin1String( "Resource" ) ); |
|
|
|
|