0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-25 00:54:39 +03:00

Finish 1.4.45

This commit is contained in:
Arin Alexander 2017-10-03 19:06:05 +03:00
commit 6cd3f96907

View File

@ -74,7 +74,8 @@ void LimeReport::PropertyDelegate::paint(QPainter *painter, const QStyleOptionVi
option.rect.y()+option.rect.height() option.rect.y()+option.rect.height()
); );
painter->save(); painter->save();
painter->setPen(option.palette.color(QPalette::Dark)); QColor color = static_cast<QRgb>(QApplication::style()->styleHint(QStyle::SH_Table_GridLineColor, &option));
painter->setPen(color);
painter->drawLine(start,end); painter->drawLine(start,end);
painter->restore(); painter->restore();
} }