diff options
| author | Alexandr Akulich <akulichalexander@gmail.com> | 2015-02-10 18:58:59 +0500 |
|---|---|---|
| committer | Alexandr Akulich <akulichalexander@gmail.com> | 2015-02-11 22:52:41 +0500 |
| commit | b8a205b6aac5c779f240506610a20a9cf7df1e73 (patch) | |
| tree | 5c3fa80f7eafd65b90628a975a275bb838809e41 | |
| parent | 8443f7c5650304377a63462e8a480f94dee2a308 (diff) | |
BaseChannelCaptchaAuthenticationInterface: Fixed signal emission.
Now we emit the org.freedesktop.DBus.Properties.PropertiesChanged signal
on CaptchaStatus, CaptchaError or CaptchaErrorDetails property changes.
| -rw-r--r-- | TelepathyQt/base-channel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TelepathyQt/base-channel.cpp b/TelepathyQt/base-channel.cpp index e5d721ed..11d7a23e 100644 --- a/TelepathyQt/base-channel.cpp +++ b/TelepathyQt/base-channel.cpp @@ -999,16 +999,19 @@ void BaseChannelCaptchaAuthenticationInterface::setCancelCaptchaCallback(const C void BaseChannelCaptchaAuthenticationInterface::setCaptchaStatus(uint status) { mPriv->captchaStatus = status; + notifyPropertyChanged(QLatin1String("CaptchaStatus"), QVariant::fromValue(status)); } void BaseChannelCaptchaAuthenticationInterface::setCaptchaError(const QString& busName) { mPriv->captchaError = busName; + notifyPropertyChanged(QLatin1String("CaptchaError"), QVariant::fromValue(busName)); } void BaseChannelCaptchaAuthenticationInterface::setCaptchaErrorDetails(const QVariantMap& error) { mPriv->captchaErrorDetails = error; + notifyPropertyChanged(QLatin1String("CaptchaErrorDetails"), QVariant::fromValue(error)); } //Chan.I.SASLAuthentication |
