QTextLayout::d is private

Compile fix for tst_qtextscriptengine.cpp test on the mac.

Change-Id: I912a339c6c659dc8958cc5997a331e3c18c9cb06
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Girish Ramakrishnan 2012-04-23 05:11:01 +02:00 committed by Qt by Nokia
parent 8dea797015
commit 8fb7efeb2f

View File

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