mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
* 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:
parent
05c0c1c24e
commit
f8b75dc40f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user