diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-09-20 15:06:11 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-28 23:50:10 +0200 |
commit | ac9be327f8dc788a964b77c6bcdf0391c85c9cbd (patch) | |
tree | e7f66c52a02cf1a8c260c47d1bba0d400acad82a /dist/changes-4.7.0 | |
parent | 26f238a80d38d6e1da0a6d485dd0b185b73c46ef (diff) |
QFlags: use unsigned int when the enum's underlying is unsigned
Replace storage and operator int() return types with unsigned int
if the enum is unsigned.
This fixes a number of exisiting warnings, in particular with
Qt::MouseButton under GCC.
Change-Id: Ia12d36212329aec3e9d62a5fbd38809a6c2b36d0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'dist/changes-4.7.0')
0 files changed, 0 insertions, 0 deletions