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)
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.


No differences found