Fixed hardcoded background color

* disabled hardcoded white background color
This commit is contained in:
defnax 2025-07-12 16:46:33 +02:00
parent 500ab2098b
commit 3bca2a9732
2 changed files with 2 additions and 2 deletions

View file

@ -246,7 +246,7 @@ void RSPermissionMatrixWidget::paintEvent(QPaintEvent *)
_painter->setRenderHint(QPainter::TextAntialiasing); _painter->setRenderHint(QPainter::TextAntialiasing);
/* Fill in the background */ /* Fill in the background */
_painter->fillRect(_rec, QBrush(BACK_COLOR)); //_painter->fillRect(_rec, QBrush(BACK_COLOR));
_painter->drawRect(_rec); _painter->drawRect(_rec);
// draw one line per friend. // draw one line per friend.

View file

@ -34,7 +34,7 @@
#define SCALE_WIDTH 75 /** Width of the scale */ #define SCALE_WIDTH 75 /** Width of the scale */
#define BACK_COLOR Qt::white #define BACK_COLOR Qt::white
#define FOREGROUND_COLOR Qt::black #define FOREGROUND_COLOR Qt::gray
#define SCALE_COLOR Qt::black #define SCALE_COLOR Qt::black
#define GRID_COLOR Qt::lightGray #define GRID_COLOR Qt::lightGray
#define RSDHT_COLOR Qt::magenta #define RSDHT_COLOR Qt::magenta