mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 23:25:32 -04:00
removed explicit color in board items to comply with css style
This commit is contained in:
parent
2673c92e3c
commit
ff0836929d
1 changed files with 2 additions and 2 deletions
|
@ -88,11 +88,11 @@ void PostedPostDelegate::paint(QPainter * painter, const QStyleOptionViewItem &
|
|||
|
||||
painter->save();
|
||||
|
||||
painter->fillRect( option.rect, option.backgroundBrush);
|
||||
painter->fillRect( option.rect, option.palette.background());
|
||||
painter->restore();
|
||||
|
||||
QPixmap pixmap(option.rect.size());
|
||||
pixmap.fill(QRgb(0x00f0f0f0)); // choose a fully transparent background
|
||||
pixmap.fill(option.palette.alternateBase().color()); // use base() instead to have all widgets the same background
|
||||
|
||||
if(mDisplayMode == BoardPostDisplayWidget_compact::DISPLAY_MODE_COMPACT)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue