From: Pavel Sanda Date: Fri, 24 Sep 2010 12:26:28 +0000 (+0000) Subject: My compilator issues warning. Uwe, please check that this was intended. X-Git-Tag: 2.0.0~2513 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b1b1e13ad4ed51aac800baf9d4e1cc06a3a61a64;p=features.git My compilator issues warning. Uwe, please check that this was intended. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35491 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiPainter.cpp b/src/frontends/qt4/GuiPainter.cpp index 44f82dafe3..ab607ee519 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(lw); + pen.setWidth((int)lw); setPen(pen); }