use round caps for windeco button symbols... not really visible at width=2.5px, but still more correct

svn path=/trunk/KDE/kdebase/workspace/; revision=723570
icc-effect-5.14.5
Matthew Woehlke 2007-10-10 01:28:33 +00:00
parent 5cc9ad5e9e
commit 865ea8e9d7
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ void OxygenButton::paintEvent(QPaintEvent *)
painter.setRenderHints(QPainter::Antialiasing);
painter.setBrush(Qt::NoBrush);
QLinearGradient lg = helper_.decoGradient(QRect(4,4,13,13), pal.color(QPalette::ButtonText));
painter.setPen(QPen(lg, 2.5));
painter.setPen(QPen(lg, 2.5, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
switch(type_)
{
case ButtonSticky: