]> git.lyx.org Git - lyx.git/commitdiff
My compilator issues warning. Uwe, please check that this was intended.
authorPavel Sanda <sanda@lyx.org>
Fri, 24 Sep 2010 12:26:28 +0000 (12:26 +0000)
committerPavel Sanda <sanda@lyx.org>
Fri, 24 Sep 2010 12:26:28 +0000 (12:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35491 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiPainter.cpp

index 44f82dafe3880b671859bdec4a6d9fa4e927caf8..ab607ee519720e00c61ac23be79909bdcfc9fc98 100644 (file)
@@ -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);
 }