go back to Q_ASSERT for methodIndex

This commit is contained in:
Stephen Birarda 2015-07-14 16:48:55 -07:00
parent 15ca129005
commit 251387159a

View file

@ -104,7 +104,7 @@ QMetaMethod PacketReceiver::matchingMethodForListener(PacketType::Value type, QO
<< possibleSignatures.toList() << "- but such a method was not found.";
}
assert(methodIndex >= 0);
Q_ASSERT(methodIndex >= 0);
// return the converted QMetaMethod
if (methodIndex >= 0) {