GuiPainter.cpp: correct attempt from r35491

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35498 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-09-25 14:14:50 +00:00
parent 7192937ab5
commit 9fa49ecafa

View File

@ -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);
}