QStyleSheetStyle: remove 167 unneeded relocations

Same change as in QColor (d38f86e50b01c6dd60f5a97355031e08d6a47d18).

  relocs: -167
  text:  +1296B
  data:  -1984B

(optimized GCC 6.1 Linux AMD64 build). The text size increase means
we pushed the data into an immutable section.

Change-Id: I0ff433714dc23350d1e19893a2e27ff4a0d2ec25
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
Marc Mutz 2016-08-19 12:59:09 +02:00
parent 477aab08d3
commit 661b10649a

View File

@ -204,7 +204,7 @@ enum PseudoElement {
struct PseudoElementInfo {
QStyle::SubControl subControl;
const char *name;
const char name[19];
};
static const PseudoElementInfo knownPseudoElements[NumPseudoElements] = {
@ -589,7 +589,7 @@ public:
Q_DECLARE_TYPEINFO(QRenderRule, Q_MOVABLE_TYPE);
///////////////////////////////////////////////////////////////////////////////////////////
static const char *const knownStyleHints[] = {
static const char knownStyleHints[][45] = {
"activate-on-singleclick",
"alignment",
"arrow-keys-navigate-into-children",