diff options
author | Konstantin Ritt <[email protected]> | 2014-01-30 02:01:39 +0200 |
---|---|---|
committer | The Qt Project <[email protected]> | 2014-01-31 00:24:48 +0100 |
commit | 16af55dda11a770bdb53afd46dfc67acbc7d3f0d (patch) | |
tree | 7a913152afcdf89c912fad3bbac482c61daca398 | |
parent | f26928cccf7e0fd9f06236476f2a6b52151e5dca (diff) |
QTextEngine: Make FontEngineCache inaccessible from outside
This is really an implementation detail
and shouldn't be accessible in any way.
Change-Id: Icd9f2ea6f9a1d5ebd613ce65eebe2823301f87ea
Reviewed-by: Lars Knoll <[email protected]>
-rw-r--r-- | src/gui/text/qtextengine_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/text/qtextengine_p.h b/src/gui/text/qtextengine_p.h index fce2bd808dc..d3991236092 100644 --- a/src/gui/text/qtextengine_p.h +++ b/src/gui/text/qtextengine_p.h @@ -543,6 +543,7 @@ public: mutable QScriptLineArray lines; +private: struct FontEngineCache { FontEngineCache(); mutable QFontEngine *prevFontEngine; @@ -560,6 +561,7 @@ public: }; mutable FontEngineCache feCache; +public: QString text; mutable QFont fnt; #ifndef QT_NO_RAWFONT |