From 264eeb68b2183b2808d255fc37206d3cac7dc91c Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Fri, 12 Oct 2012 01:19:34 +0300 Subject: [PATCH] QFont: Fix build with QFONTCACHE_DEBUG Change-Id: Ifc89af71cdf6a5f9e4114266030cf265042db626 Reviewed-by: Marc Mutz Reviewed-by: Konstantin Ritt --- src/gui/text/qfont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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