* QLPainter::text(): Put the debug message in Debug::PAINTING

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15723 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-11-04 07:26:45 +00:00
parent 05c0c1c24e
commit f8b75dc40f

View File

@ -238,7 +238,8 @@ int QLPainter::text(int x, int y, char_type const * s, size_t ls,
// We need to draw the text as LTR as we use our own bidi code.
setLayoutDirection(Qt::LeftToRight);
if (isDrawingEnabled()) {
lyxerr << "draw " << std::string(str.toUtf8()) << " at " << x << "," << y << std::endl;
lyxerr[Debug::PAINTING] << "draw " << std::string(str.toUtf8())
<< " at " << x << "," << y << std::endl;
drawText(x, y, str);
}
// Here we use the font width cache instead of