From: Manuel Nickschas Date: Fri, 28 Mar 2014 22:26:53 +0000 (+0100) Subject: Properly handle RPC calls that return void X-Git-Tag: 0.11.0~46 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=59eccc3cb0f65357a93fbbab83a6287c56fa31fe;hp=59eccc3cb0f65357a93fbbab83a6287c56fa31fe 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. ---