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>
This commit is contained in:
Marc Mutz 2022-02-08 18:41:30 +01:00
parent d04d571d3a
commit bfd21b888b

View File

@ -233,7 +233,7 @@ struct StandardPageSize {
qreal heightMillimeters; qreal heightMillimeters;
qreal widthInches; qreal widthInches;
qreal heightInches; 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 // Standard page sizes taken from the Postscript PPD Standard v4.3