Fix compiler warning (case value not in enum)
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 3 Jul 2011 14:21:38 +0000 (16:21 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 3 Jul 2011 14:21:38 +0000 (16:21 +0200)
src/common/signalproxy.cpp

index 8becae8..8943f75 100644 (file)
@@ -995,7 +995,7 @@ void SignalProxy::receiveHeartBeatReply(AbstractPeer *peer, const QVariantList &
 }
 
 void SignalProxy::customEvent(QEvent *event) {
-  switch(event->type()) {
+  switch(+event->type()) {
   case PeerSignal:
     {
       PeerSignalEvent *e = static_cast<PeerSignalEvent *>(event);