diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2012-04-12 16:42:13 +0300 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2012-04-12 16:42:13 +0300 |
commit | fbb98da15c07b16b0417da5eb6c5cf9ed71b0d91 (patch) | |
tree | ef60cdcaa8eb390599b2129da6b82365dd4f3fd8 | |
parent | 68d97d44bf0c48cecdeba0cbb81fac1c8f52230c (diff) |
BaseProtocolPresenceInterface: Add Statuses as immutable property
-rw-r--r-- | TelepathyQt/base-protocol.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/TelepathyQt/base-protocol.cpp b/TelepathyQt/base-protocol.cpp index 95e46e10..4764bd42 100644 --- a/TelepathyQt/base-protocol.cpp +++ b/TelepathyQt/base-protocol.cpp @@ -1189,8 +1189,10 @@ BaseProtocolPresenceInterface::~BaseProtocolPresenceInterface() */ QVariantMap BaseProtocolPresenceInterface::immutableProperties() const { - // no immutable property - return QVariantMap(); + QVariantMap map; + map.insert(TP_QT_IFACE_PROTOCOL_INTERFACE_PRESENCE + QLatin1String(".Statuses"), + QVariant::fromValue(mPriv->adaptee->statuses())); + return map; } /** |