From: Abdelrazak Younes Date: Sat, 4 Nov 2006 07:26:45 +0000 (+0000) Subject: * QLPainter::text(): Put the debug message in Debug::PAINTING X-Git-Tag: 1.6.10~12055 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f8b75dc40fb36e8d081edf2bbec5b76514954320;p=features.git * 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 --- diff --git a/src/frontends/qt4/QLPainter.C b/src/frontends/qt4/QLPainter.C index 34f856731d..44379466d6 100644 --- a/src/frontends/qt4/QLPainter.C +++ b/src/frontends/qt4/QLPainter.C @@ -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