From 548ec9641b8c8a5f18281151604c0ed7821c3226 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Thu, 19 Apr 2012 17:50:45 +0300 Subject: [PATCH] Fix: connman classes did not report when setting properties has failed --- lib/ofonoconnman.cpp | 2 ++ lib/ofonoconnmancontext.cpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) 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) -- 2.7.4