From: Manuel Nickschas Date: Sun, 3 Jul 2011 14:21:38 +0000 (+0200) Subject: Fix compiler warning (case value not in enum) X-Git-Tag: 0.7.3~2 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=bfcfceef90097812bd9f94effce099e5c25d2799;p=quassel.git Fix compiler warning (case value not in enum) --- diff --git a/src/common/signalproxy.cpp b/src/common/signalproxy.cpp index 8becae8d..8943f754 100644 --- a/src/common/signalproxy.cpp +++ b/src/common/signalproxy.cpp @@ -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(event);