summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-08-19 12:59:09 +0200
committerMarc Mutz <marc.mutz@kdab.com>2016-08-22 06:33:05 +0000
commit477aab08d387287a7fbcad70df0c210a6a91d257 (patch)
tree77c3ed278fa87e38d8a9ff054d3a190b20ccd405 /src/gui
parent3b3780748ba76ddee447d06bc6e7a5f753ee6f42 (diff)
QCssParser: remove 239 unneeded relocations
Same change as in QColor (d38f86e50b01c6dd60f5a97355031e08d6a47d18). relocs: -239 text: +2248B data: -3872B (optimized GCC 6.1 Linux AMD64 build). The text size increase means we pushed the data into an immutable section. Change-Id: Iad10c877d4a4877878dded56a7ef1e14ff92c996 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/text/qcssparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qcssparser.cpp b/src/gui/text/qcssparser.cpp
index adbb3df3bf..65b468ece4 100644
--- a/src/gui/text/qcssparser.cpp
+++ b/src/gui/text/qcssparser.cpp
@@ -54,7 +54,7 @@ using namespace QCss;
struct QCssKnownValue
{
- const char *name;
+ const char name[28];
quint64 id;
};