[Development] Q_COMPILER_UNIFORM_INIT still needed?
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Sat Aug 25 21:03:28 CEST 2018
Hi,
will reviewing a patch I found this comment from Marc Mutz in
qstringlistmodel.cpp:
// once Q_COMPILER_UNIFORM_INIT can be used, change to:
// emit dataChanged(index, index, {Qt::DisplayRole, Qt::EditRole});
Now I wonder if this is still needed because we're using this way
calling dataChanged in a lot of other places without the guard and even
in the documentation.
So - is this comment wrong or is the define no longer needed (I would
guess the latter)
Christian
More information about the Development
mailing list