]> git.lyx.org Git - features.git/commitdiff
* QLPainter::text(): Put the debug message in Debug::PAINTING
authorAbdelrazak Younes <younes@lyx.org>
Sat, 4 Nov 2006 07:26:45 +0000 (07:26 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 4 Nov 2006 07:26:45 +0000 (07:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15723 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/QLPainter.C

index 34f856731dfa7ae782f76dba745ea78bc321629d..44379466d6ba5fe0a6fe86215205f6c0feb094dd 100644 (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