diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-01-27 13:23:52 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-01-27 17:16:14 +0000 |
commit | af7cefd2725a4afb41700cb5568bd99710ebad5d (patch) | |
tree | 2ddc95d5874fc9121ee7cccb42017a54e52b218b /mkspecs/features/qt_plugin.prf | |
parent | c6ecbd4762dd753d34a8ed36bbb4ef3885a2f0fe (diff) |
Widgets/qwidgetbackingstore.cpp: Fix developer build with MinGW
In showYellowThing_win(), replace the switch by an array of COLORREF
and simplify the code accordingly, fixing:
kernel\qwidgetbackingstore.cpp: In function 'void showYellowThing_win(QWidget*, const QRegion&, int)':
kernel\qwidgetbackingstore.cpp:188:39: error: 'brush' may be used uninitialized in this function [-Werror=maybe-uninitialized]
FillRect(hdc, &winRect, brush);
^
Change-Id: Id60be0e01e1edb2fa939d64abaf2e58357bcc14d
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'mkspecs/features/qt_plugin.prf')
0 files changed, 0 insertions, 0 deletions