From: Alexander Kanavin Date: Thu, 19 Apr 2012 14:50:45 +0000 (+0300) Subject: Fix: connman classes did not report when setting properties has failed X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=548ec9641b8c8a5f18281151604c0ed7821c3226;p=profile%2Fivi%2Fofono-qt.git Fix: connman classes did not report when setting properties has failed --- diff --git a/lib/ofonoconnman.cpp b/lib/ofonoconnman.cpp index 2d5bcc8..29d6680 100644 --- a/lib/ofonoconnman.cpp +++ b/lib/ofonoconnman.cpp @@ -57,6 +57,8 @@ OfonoConnMan::OfonoConnMan(OfonoModem::SelectionSetting modemSetting, const QStr connect(m_if, SIGNAL(propertyChanged(const QString&, const QVariant&)), this, SLOT(propertyChanged(const QString&, const QVariant&))); + connect(m_if, SIGNAL(setPropertyFailed(const QString&)), + this, SLOT(setPropertyFailed(const QString&))); connect(this, SIGNAL(validityChanged(bool)), this, SLOT(validityChanged(bool))); connect(modem(), SIGNAL(pathChanged(QString)), this, SLOT(pathChanged(const QString&))); diff --git a/lib/ofonoconnmancontext.cpp b/lib/ofonoconnmancontext.cpp index e4ae48b..0e8de3f 100644 --- a/lib/ofonoconnmancontext.cpp +++ b/lib/ofonoconnmancontext.cpp @@ -47,7 +47,8 @@ OfonoConnmanContext::OfonoConnmanContext(const OfonoConnmanContext& context) connect(m_if, SIGNAL(propertyChanged(const QString&, const QVariant&)), this, SLOT(propertyChanged(const QString&, const QVariant&))); - + connect(m_if, SIGNAL(setPropertyFailed(const QString&)), + this, SLOT(setPropertyFailed(const QString&))); } bool OfonoConnmanContext::operator==(const OfonoConnmanContext &context)