kossebau added a comment.
Another possible issue with using `nullptr`as value for flags: it might break calling methods with overloads when once a pointer type and once a flags type is used. Not seen, but there is a risk. void foo(T* t); void foo(QFlags<Flag> flags); REPOSITORY R280 Prison REVISION DETAIL https://phabricator.kde.org/D3987 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: kfunk, #frameworks, dfaure, kossebau Cc: kossebau, dfaure, graesslin