2021-06-26 Fred Gleason <fredg@paravelsystems.com>

* Added an 'AIR_WIDGET_BACKGROUND_COLOR' define to
	'rdairplay/colors.h'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-06-26 11:40:06 -04:00
parent d0aa89aa75
commit 31f54ee4fc
4 changed files with 9 additions and 2 deletions

View File

@@ -43,7 +43,8 @@ PieCounter::PieCounter(int count_length,QWidget *parent)
onair_on_palette=palette();
onair_on_palette.setColor(QPalette::Background,PIE_ONAIR_COLOR);
onair_off_palette=palette();
onair_on_palette.setColor(QPalette::Background,QColor("#D0D0D0"));
onair_on_palette.
setColor(QPalette::Background,QColor(AIR_WIDGET_BACKGROUND_COLOR));
setPalette(onair_on_palette);
setAutoFillBackground(true);