aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/statusWidget.cpp
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-09-17 06:39:20 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-09-17 06:39:20 +0000
commit15658e336e73987796734f2dba55367afa4d0e6c (patch)
tree6620aaf0b14729b7a43d000c3dd415b829139237 /examples/GuiClient/statusWidget.cpp
parentfa9a7cc8c1a657642af21da3c6f45cacf96b17a3 (diff)
downloadqxmpp-15658e336e73987796734f2dba55367afa4d0e6c.tar.gz
don't send two packets instead of one to change the presence to available with status online
Diffstat (limited to 'examples/GuiClient/statusWidget.cpp')
-rw-r--r--examples/GuiClient/statusWidget.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/GuiClient/statusWidget.cpp b/examples/GuiClient/statusWidget.cpp
index e6e9e1f9..e3e47940 100644
--- a/examples/GuiClient/statusWidget.cpp
+++ b/examples/GuiClient/statusWidget.cpp
@@ -69,7 +69,6 @@ void statusWidget::presenceMenuTriggered()
if(action == actionAvailable)
{
emit presenceTypeChanged(QXmppPresence::Available);
- emit presenceStatusTypeChanged(QXmppPresence::Status::Online);
icon = "green";
}
else if(action == actionBusy)