aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/mainDialog.cpp
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-09-17 06:35:11 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-09-17 06:35:11 +0000
commitfa9a7cc8c1a657642af21da3c6f45cacf96b17a3 (patch)
treeeb21bc34f05977a1ce18a3dd5b397a8705c6f806 /examples/GuiClient/mainDialog.cpp
parenta55603650a333544e17066c806206588a03c699a (diff)
downloadqxmpp-fa9a7cc8c1a657642af21da3c6f45cacf96b17a3.tar.gz
bugfix with changing the presence type
Diffstat (limited to 'examples/GuiClient/mainDialog.cpp')
-rw-r--r--examples/GuiClient/mainDialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/GuiClient/mainDialog.cpp b/examples/GuiClient/mainDialog.cpp
index 8d68d338..5e463ef7 100644
--- a/examples/GuiClient/mainDialog.cpp
+++ b/examples/GuiClient/mainDialog.cpp
@@ -306,6 +306,8 @@ void mainDialog::presenceStatusTypeChanged(QXmppPresence::Status::Type statusTyp
presence.setType(QXmppPresence::Available);
presence.status().setType(statusType);
m_xmppClient.setClientPresence(presence);
+ m_statusWidget.setStatusText(
+ presenceToStatusText(m_xmppClient.clientPresence()));
}
void mainDialog::avatarChanged(const QImage& image)