In preparation for a change (operator&(enum, flags) producing a QFlags, not an int), just go through operator&(flags, flags). This removes the need for a cast to the _enum_ type (although it requires a enum->flag conversion, which however makes perfect sense.) Change-Id: I159ee14d894c10365f53ca378bcb18bcf3f89dff Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> |
||
|---|---|---|
| .. | ||
| macos | ||
| windows | ||