Skip to content

Commit

Permalink
Merge pull request #82 from nemomobile/jb31804
Browse files Browse the repository at this point in the history
[libqofono] Handle NotifcationReceived and RequestReceived signals. Fixes JB#31804
  • Loading branch information
martinjones committed Aug 26, 2015
2 parents a73565f + 0b6516d commit d9a8603
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/qofonosupplementaryservices.cpp
Expand Up @@ -29,7 +29,12 @@ QOfonoSupplementaryServices::~QOfonoSupplementaryServices()

QDBusAbstractInterface *QOfonoSupplementaryServices::createDbusInterface(const QString &path)
{
return new OfonoSupplementaryServices("org.ofono", path, QDBusConnection::systemBus(), this);
QDBusAbstractInterface *iface = new OfonoSupplementaryServices("org.ofono", path, QDBusConnection::systemBus(), this);

connect(iface, SIGNAL(NotificationReceived(QString)), this, SIGNAL(notificationReceived(QString)));
connect(iface, SIGNAL(RequestReceived(QString)), this, SIGNAL(requestReceived(QString)));

return iface;
}

void QOfonoSupplementaryServices::initiate(const QString &command)
Expand Down

0 comments on commit d9a8603

Please sign in to comment.