Properly handle RPC calls that return void
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 28 Mar 2014 22:26:53 +0000 (23:26 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Fri, 28 Mar 2014 22:26:53 +0000 (23:26 +0100)
commit59eccc3cb0f65357a93fbbab83a6287c56fa31fe
tree0ff13af770b2e60f756dbb6aaaf40fc70091e055
parent239ad49c39ecfe91c98e1101c3e1992ae622c192
Properly handle RPC calls that return void

Qt5 loudly warns when trying to construct a QVariant from QMetaType::Void,
thus we should not do that. Instead, check for this case and use an invalid
QVariant instead. Works fine on both Qt4 and Qt5 that way.
src/common/signalproxy.cpp