Fixed objectInvoke()

I stored a QByteArray into a const char pointer. Sometimes I hate C++.

Signed-off-by: Nils Hasenbanck <nils@hasenbanck.de>