From 9fa49ecafabf0e02b5a24233ba291fee92cdced8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sat, 25 Sep 2010 14:14:50 +0000 Subject: [PATCH] GuiPainter.cpp: correct attempt from r35491 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35498 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiPainter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiPainter.cpp b/src/frontends/qt4/GuiPainter.cpp index ab607ee519..0df30a2c94 100644 --- a/src/frontends/qt4/GuiPainter.cpp +++ b/src/frontends/qt4/GuiPainter.cpp @@ -83,7 +83,7 @@ void GuiPainter::setQPainterPen(QColor const & col, case line_onoffdash: pen.setStyle(Qt::DotLine); break; } - pen.setWidth((int)lw); + pen.setWidthF(lw); setPen(pen); } -- 2.39.5