[Development] QFlags Zero handling
thiago.macieira at intel.com
Sat Jan 21 17:06:03 CET 2017
On sábado, 21 de janeiro de 2017 11:30:40 PST Stephen Kelly wrote:
> Does anyone know why QFlags has a constructor taking a Zero pointer? My
> guess is that it's a hack to make initializing like
> Qt::WindowFlags = 0
> work? The problem encountered is that porting tools convert that to
> Qt::WindowFlags = nullptr
> which is undesirable.
> Is there a better solution to that with modern c++?
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development