Am 07.05.2018 um 21:40 schrieb Thiago Macieira:
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 know that I should Q_ARG but I have problems using Q_ARG with a
typedef/templated parameter therefore I need to use QArgument for at
least this specific parameter and simply used it for all without
thinking about it. Thx for the pointer!
Thx,
Christian
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest