On 19 November 2015 at 14:15, Sebastian Kügler <[email protected]> wrote:
> On Wednesday, November 18, 2015 11:46:54 PM Lubomir I. Ivanov wrote:
>> +       (void)changed;
>
> Q_UNUSED is more Qt-ish (but I haven't checked if that's in line with
> surrounding code).

it's probably better to use it for readability in Qt .cpp files.

the definition is "(void)variable", though:
http://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/global/qglobal.h?id=e9121328866efa6ba3eb78a991fef785338fd55e#n690

lubomir
--
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to