Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
[libcontacts] Stop pretending that we support multiple engines
Browse files Browse the repository at this point in the history
libcontacts will only work correctly with the qtcontacts-sqlite
contact manager engine; remove the use of the NEMO_CONTACT_MANAGER
environment variable from qt4 code.
  • Loading branch information
matthewvogt committed Dec 10, 2013
1 parent ce60d74 commit 5c43523
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/seasidecache.cpp
Expand Up @@ -99,23 +99,14 @@ QStringList getAllContactNameGroups()

QString managerName()
{
#ifdef USING_QTPIM
// Temporary override until qtpim supports QTCONTACTS_MANAGER_OVERRIDE
return QString::fromLatin1("org.nemomobile.contacts.sqlite");
#endif
QByteArray environmentManager = qgetenv("NEMO_CONTACT_MANAGER");
return !environmentManager.isEmpty()
? QString::fromLatin1(environmentManager, environmentManager.length())
: QString();
}

QMap<QString, QString> managerParameters()
{
QMap<QString, QString> rv;
#ifdef USING_QTPIM
// Report presence changes independently from other contact changes
rv.insert(QString::fromLatin1("mergePresenceChanges"), QString::fromLatin1("false"));
#endif
return rv;
}

Expand Down

0 comments on commit 5c43523

Please sign in to comment.