summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfont.cpp
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2012-10-12 01:19:34 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-13 03:18:58 +0200
commit264eeb68b2183b2808d255fc37206d3cac7dc91c (patch)
treed5e502e72159cc17dfb0ba213415faa8a41009a2 /src/gui/text/qfont.cpp
parentec4593d6d06b6b6de5cd26cf66d5c6a866231251 (diff)
QFont: Fix build with QFONTCACHE_DEBUG
Change-Id: Ifc89af71cdf6a5f9e4114266030cf265042db626 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/gui/text/qfont.cpp')
-rw-r--r--src/gui/text/qfont.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qfont.cpp b/src/gui/text/qfont.cpp
index 65368fd9d8..a2132f0fea 100644
--- a/src/gui/text/qfont.cpp
+++ b/src/gui/text/qfont.cpp
@@ -2768,7 +2768,7 @@ void QFontCache::timerEvent(QTimerEvent *)
end = engineDataCache.constEnd();
for (; it != end; ++it) {
#ifdef QFONTCACHE_DEBUG
- FC_DEBUG(" %p: ref %2d", it.value(), int(it.value()->ref));
+ FC_DEBUG(" %p: ref %2d", it.value(), int(it.value()->ref.load()));
#endif // QFONTCACHE_DEBUG