~phablet-team/telephony-service/trunk

« back to all changes in this revision

Viewing changes to libtelephonyservice/accountentry.cpp

  • Committer: Bileto Bot
  • Author(s): Roberto Mier Escandon, Tiago Salem Herrmann
  • Date: 2016-12-13 12:46:07 UTC
  • mfrom: (1212.2.12 protocols-through-dbus)
  • Revision ID: ci-train-bot@canonical.com-20161213124607-74zrir0pa80kkaor
Requesting protocols from qml plugin using DBus in case protocols dir folder does not exits.
This is needed in snappy to access available protocols from applications.

Approved by: Tiago Salem Herrmann

Show diffs side-by-side

added added

removed removed

Lines of Context:
186
186
    }
187
187
 
188
188
    mProtocol = ProtocolManager::instance()->protocolByName(mAccount->protocolName());
 
189
    connect(ProtocolManager::instance(), &ProtocolManager::protocolsChanged, [=]() {
 
190
        mProtocol = ProtocolManager::instance()->protocolByName(mAccount->protocolName());
 
191
    });
189
192
 
190
193
    connect(this, &AccountEntry::addressableVCardFieldsChanged, &AccountEntry::usePhoneNumbersChanged);
191
194