On Monday, 7 May 2018 11:24:55 PDT Christian Ehrlicher wrote:
> Hi,
> 
> today I discovered that Q_QArgument does not handle a temporary
> (boolean) value as I would have expected it.
> I'm invoking the method similar to this:
> 
> QArgument<bool> arg3("bool", !inProgress);

QArgument is not a documented class. Remove this line. You must only use the 
Q_ARG macro.

> I did not found a hint int the documentation about this behavior.

Now you know why.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center



_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to