diff options
Diffstat (limited to 'examples/GuiClient')
| -rw-r--r-- | examples/GuiClient/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/GuiClient/utils.cpp b/examples/GuiClient/utils.cpp index a1a47563..e50cdcb8 100644 --- a/examples/GuiClient/utils.cpp +++ b/examples/GuiClient/utils.cpp @@ -67,12 +67,12 @@ int comparisonWeightsPresenceType(QXmppPresence::Type type) QString presenceToStatusText(const QXmppPresence& presence) { - QString statusText = presence.status().statusText(); + QString statusText = presence.statusText(); if(statusText.isEmpty()) { if(presence.type() == QXmppPresence::Available) { - switch(presence.status().type()) + switch(presence.availableStatusType()) { case QXmppPresence::Invisible: statusText = "Offline"; |
