summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qpfutil.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2010-07-30 10:44:19 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2010-07-30 10:50:25 (GMT)
commit6699f65e276d24c99d0937f1bb460ced176076d8 (patch)
tree7f2634400abf07b2f320f0aa35d50fc6f992a96a /src/gui/text/qpfutil.cpp
parent865bcb8c33287d04ca914f9cbc33730753bccc6a (diff)
downloadQt-6699f65e276d24c99d0937f1bb460ced176076d8.zip
Qt-6699f65e276d24c99d0937f1bb460ced176076d8.tar.gz
Qt-6699f65e276d24c99d0937f1bb460ced176076d8.tar.bz2
Minor optimization
Make internal qpf2 font tag array read-only. Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
Diffstat (limited to 'src/gui/text/qpfutil.cpp')
-rw-r--r--src/gui/text/qpfutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qpfutil.cpp b/src/gui/text/qpfutil.cpp
index 376f49c..7f8c58e 100644
--- a/src/gui/text/qpfutil.cpp
+++ b/src/gui/text/qpfutil.cpp
@@ -39,7 +39,7 @@
**
****************************************************************************/
-static QFontEngineQPF::TagType tagTypes[QFontEngineQPF::NumTags] = {
+static const QFontEngineQPF::TagType tagTypes[QFontEngineQPF::NumTags] = {
QFontEngineQPF::StringType, // FontName
QFontEngineQPF::StringType, // FileName
QFontEngineQPF::UInt32Type, // FileIndex