From: Marcus Eggenberger Date: Mon, 21 Jan 2008 16:38:51 +0000 (+0000) Subject: made the signalproxy compile with MSVC X-Git-Tag: 0.2.0-alpha1~212 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=72d25daa2c6cc00c17e79f756ad70bc00b41f9a8;ds=sidebyside made the signalproxy compile with MSVC --- diff --git a/src/common/signalproxy.cpp b/src/common/signalproxy.cpp index 91ffae9f..f6f75d65 100644 --- a/src/common/signalproxy.cpp +++ b/src/common/signalproxy.cpp @@ -707,9 +707,10 @@ bool SignalProxy::invokeSlot(QObject *receiver, int methodId, const QVariantList qWarning() << "SignalProxy::invokeSlot(): not enough params to invoke" << methodName(receiver, methodId); return false; } - - void *_a[numArgs+1]; - _a[0] = 0; + + void *_a[] = {0, // return type + 0, 0, 0, 0 , 0, // and 10 args - that's the max size qt can handle with signals and slots + 0, 0, 0, 0 , 0}; // check for argument compatibility and build params array for(int i = 0; i < numArgs; i++) { if(args[i] != QMetaType::type(params[i].typeName())) { diff --git a/version.inc b/version.inc index de9c9e77..4b1435da 100644 --- a/version.inc +++ b/version.inc @@ -5,7 +5,7 @@ quasselVersion = "0.2.0-pre"; quasselDate = "2008-01-21"; - quasselBuild = 366; + quasselBuild = 368; //! Minimum client build number the core needs clientBuildNeeded = 358;