From b5df32d8c9b3ce2f866f0fae729b08d0976553a6 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Wed, 12 Sep 2012 22:43:17 +0200 Subject: minimum maintenance to get guiclient to compile --- examples/GuiClient/utils.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'examples/GuiClient/utils.cpp') diff --git a/examples/GuiClient/utils.cpp b/examples/GuiClient/utils.cpp index 412dd92e..efc209e4 100644 --- a/examples/GuiClient/utils.cpp +++ b/examples/GuiClient/utils.cpp @@ -38,8 +38,7 @@ int comparisonWeightsPresenceStatusType(QXmppPresence::Status::Type statusType) case QXmppPresence::Status::Away: case QXmppPresence::Status::XA: return 2; - case QXmppPresence::Status::Offline: - //case QXmppPresence::Status::Invisible: + case QXmppPresence::Status::Invisible: return 3; default: return 5; @@ -75,8 +74,7 @@ QString presenceToStatusText(const QXmppPresence& presence) { switch(presence.status().type()) { - //case QXmppPresence::Status::Invisible: - case QXmppPresence::Status::Offline: + case QXmppPresence::Status::Invisible: statusText = "Offline"; break; case QXmppPresence::Status::Online: -- cgit v1.2.3