Commit a18b5e44 authored by Halla Rempt's avatar Halla Rempt
Browse files

Fix wrong default widths in KoTextBlockBorderData

QPen in Qt5 has width 1 by default, where Qt4 had it 0
parent cda6b33b
......@@ -25,7 +25,7 @@
#include "TextDebug.h"
struct Edge {
Edge() : distance(0.0) { }
Edge() : distance(0.0) { innerPen.setWidthF(0.); outerPen.setWidthF(0.); }
QPen innerPen;
QPen outerPen;
qreal distance;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment