telepathy-qt: BaseConnection: Fixed illegal C++ statement in SimplePresence.

Alexandr Akulich kaffeine at kemper.freedesktop.org
Wed May 27 09:17:33 PDT 2015


Module: telepathy-qt
Branch: master
Commit: 911dd2dd6749db90cb678824d40455e7d24a2140
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=911dd2dd6749db90cb678824d40455e7d24a2140

Author: Alexandr Akulich <akulichalexander at gmail.com>
Date:   Sun May 24 03:46:47 2015 +0500

BaseConnection: Fixed illegal C++ statement in SimplePresence.

---

 TelepathyQt/base-connection.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/TelepathyQt/base-connection.cpp b/TelepathyQt/base-connection.cpp
index bc3d8fb..b2b0ad1 100644
--- a/TelepathyQt/base-connection.cpp
+++ b/TelepathyQt/base-connection.cpp
@@ -1119,7 +1119,7 @@ SimpleContactPresences BaseConnectionSimplePresenceInterface::getPresences(const
 {
     Tp::SimpleContactPresences presences;
     foreach(uint handle, contacts) {
-        static const Tp::SimplePresence unknownPresence = { .type = ConnectionPresenceTypeUnknown, .status = QLatin1String("unknown") };
+        static const Tp::SimplePresence unknownPresence = { /* type */ ConnectionPresenceTypeUnknown, /* status */ QLatin1String("unknown") };
         presences[handle] = mPriv->presences.value(handle, unknownPresence);
     }
 



More information about the telepathy-commits mailing list