QTextLayout::d is private
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Mon, 23 Apr 2012 03:11:01 +0000 (05:11 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 23 Apr 2012 05:30:02 +0000 (07:30 +0200)
Compile fix for tst_qtextscriptengine.cpp test on the mac.

Change-Id: I912a339c6c659dc8958cc5997a331e3c18c9cb06
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/gui/text/qtextscriptengine/tst_qtextscriptengine.cpp

index 6f7748b..5a53f09 100644 (file)
@@ -1173,7 +1173,7 @@ void tst_QTextScriptEngine::combiningMarks_qtbug15675()
 
     QFont font("Monaco");
     QTextLayout layout(s, font);
 
     QFont font("Monaco");
     QTextLayout layout(s, font);
-    QTextEngine *e = layout.d;
+    QTextEngine *e = layout.engine();
     e->itemize();
     e->shape(0);
 
     e->itemize();
     e->shape(0);