mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
comment out debug info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19969 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fb74d5a476
commit
aef5a7b9f7
@ -314,8 +314,8 @@ int GuiPainter::text(int x, int y, docstring const & s,
|
||||
// We need to draw the text as LTR as we use our own bidi code.
|
||||
setLayoutDirection(Qt::LeftToRight);
|
||||
drawText(x, y, str);
|
||||
LYXERR(Debug::PAINTING) << "draw " << std::string(str.toUtf8())
|
||||
<< " at " << x << "," << y << std::endl;
|
||||
//LYXERR(Debug::PAINTING) << "draw " << std::string(str.toUtf8())
|
||||
// << " at " << x << "," << y << std::endl;
|
||||
return textwidth;
|
||||
}
|
||||
|
||||
@ -347,9 +347,9 @@ int GuiPainter::text(int x, int y, docstring const & s,
|
||||
p.setLayoutDirection(Qt::LeftToRight);
|
||||
p.drawText(-lb, mA, str);
|
||||
QPixmapCache::insert(key, pm);
|
||||
LYXERR(Debug::PAINTING) << "h=" << h << " mA=" << mA << " mD=" << mD
|
||||
<< " w=" << w << " lb=" << lb << " tw=" << textwidth
|
||||
<< " rb=" << rb << endl;
|
||||
//LYXERR(Debug::PAINTING) << "h=" << h << " mA=" << mA << " mD=" << mD
|
||||
// << " w=" << w << " lb=" << lb << " tw=" << textwidth
|
||||
// << " rb=" << rb << endl;
|
||||
}
|
||||
// Draw the cached pixmap.
|
||||
drawPixmap(x + lb, y - mA, pm);
|
||||
|
Loading…
Reference in New Issue
Block a user