QPageSize: remove 119 relocations
Also saves ~1.4KiB in combined TEXT and DATA size on optimized Linux GCC 11 C++20 AMD64 builds. Pick-to: 6.3 6.2 Change-Id: I53922ccd191e412a13e3e23f2e26fdb3bf43af33 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>bb10
parent
d04d571d3a
commit
bfd21b888b
|
|
@ -233,7 +233,7 @@ struct StandardPageSize {
|
|||
qreal heightMillimeters;
|
||||
qreal widthInches;
|
||||
qreal heightInches;
|
||||
const char *mediaOption; // PPD standard mediaOption ID
|
||||
const char mediaOption[20]; // PPD standard mediaOption ID
|
||||
};
|
||||
|
||||
// Standard page sizes taken from the Postscript PPD Standard v4.3
|
||||
|
|
|
|||
Loading…
Reference in New Issue