]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiPainter.cpp
Fix the tab ordering of GuiDocument components.
[lyx.git] / src / frontends / qt4 / GuiPainter.cpp
index ab607ee519720e00c61ac23be79909bdcfc9fc98..3ade5c918857c680433f94051ff31c64b772d5db 100644 (file)
@@ -45,7 +45,7 @@ using namespace std;
 namespace lyx {
 namespace frontend {
   
-const float Painter::thin_line = 0.5;
+const float Painter::thin_line = 0.0;
 
 GuiPainter::GuiPainter(QPaintDevice * device)
        : QPainter(device), Painter(),
@@ -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);
 }