telepathy-qt: BaseChannelCaptchaAuthenticationInterface: Fixed signal emission.
David Edmundson
davidedmundson at kemper.freedesktop.org
Thu Feb 12 05:48:03 PST 2015
Module: telepathy-qt
Branch: master
Commit: b8a205b6aac5c779f240506610a20a9cf7df1e73
URL: http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=b8a205b6aac5c779f240506610a20a9cf7df1e73
Author: Alexandr Akulich <akulichalexander at gmail.com>
Date: Tue Feb 10 18:58:59 2015 +0500
BaseChannelCaptchaAuthenticationInterface: Fixed signal emission.
Now we emit the org.freedesktop.DBus.Properties.PropertiesChanged signal
on CaptchaStatus, CaptchaError or CaptchaErrorDetails property changes.
---
TelepathyQt/base-channel.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/TelepathyQt/base-channel.cpp b/TelepathyQt/base-channel.cpp
index e5d721e..11d7a23 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
More information about the telepathy-commits
mailing list