QXpmHandler: remove 657 unneeded relocations
Same change as in QColor (d38f86e50b),
but much more dramatic effect, due to 5x more elements in the array:
relocs: -657
text: -3416B
data: -10528B
(optimized GCC 6.1 Linux AMD64 build)
Change-Id: Ia266ab68f2d309743374ac2034a69f58bf556adf
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
bb10
parent
d13d81eb01
commit
3b3780748b
|
|
@ -74,7 +74,7 @@ static const int xpmRgbTblSize = 657;
|
|||
|
||||
static const struct XPMRGBData {
|
||||
uint value;
|
||||
const char *name;
|
||||
const char name[21];
|
||||
} xpmRgbTbl[] = {
|
||||
{ QRGB(240,248,255), "aliceblue" },
|
||||
{ QRGB(250,235,215), "antiquewhite" },
|
||||
|
|
|
|||
Loading…
Reference in New Issue