aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/utils.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2012-05-14 12:24:07 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2012-05-14 12:24:07 +0200
commitddbd1af3debdca662045900768b19c7d4a20efab (patch)
tree85451210044b6642e3811637a22337bbcac24b2f /examples/GuiClient/utils.cpp
parent08666775ceed284764894b82e67256c176cd35fa (diff)
downloadqxmpp-ddbd1af3debdca662045900768b19c7d4a20efab.tar.gz
fix compilation of GuiClient
Diffstat (limited to 'examples/GuiClient/utils.cpp')
-rw-r--r--examples/GuiClient/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/GuiClient/utils.cpp b/examples/GuiClient/utils.cpp
index c74c9675..da6d6a1d 100644
--- a/examples/GuiClient/utils.cpp
+++ b/examples/GuiClient/utils.cpp
@@ -39,7 +39,7 @@ int comparisonWeightsPresenceStatusType(QXmppPresence::Status::Type statusType)
case QXmppPresence::Status::XA:
return 2;
case QXmppPresence::Status::Offline:
- case QXmppPresence::Status::Invisible:
+ //case QXmppPresence::Status::Invisible:
return 3;
default:
return 5;
@@ -75,7 +75,7 @@ QString presenceToStatusText(const QXmppPresence& presence)
{
switch(presence.status().type())
{
- case QXmppPresence::Status::Invisible:
+ //case QXmppPresence::Status::Invisible:
case QXmppPresence::Status::Offline:
statusText = "Offline";
break;