mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 08:40:12 +01:00
2022-04-30 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdairplay(1) that caused all of the button labels in the Button Log widget to be initialized with a black background. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -23017,3 +23017,7 @@
|
|||||||
the added event.
|
the added event.
|
||||||
2022-04-30 Fred Gleason <fredg@paravelsystems.com>
|
2022-04-30 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Removed debugging printf()s from lib/rdmarkerview.cpp'.
|
* Removed debugging printf()s from lib/rdmarkerview.cpp'.
|
||||||
|
2022-04-30 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a regression in rdairplay(1) that caused all of the button
|
||||||
|
labels in the Button Log widget to be initialized with a black
|
||||||
|
background.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// On Air Playout Utility for Rivendell.
|
// On Air Playout Utility for Rivendell.
|
||||||
//
|
//
|
||||||
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
|
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||||
//
|
//
|
||||||
// This program is free software; you can redistribute it and/or modify
|
// This program is free software; you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License version 2 as
|
// it under the terms of the GNU General Public License version 2 as
|
||||||
@@ -302,6 +302,8 @@ LogLineBox::LogLineBox(RDAirPlayConf *conf,QWidget *parent)
|
|||||||
line_trans_label->setStyleSheet("background-color: #FF00FF");
|
line_trans_label->setStyleSheet("background-color: #FF00FF");
|
||||||
#endif // COLORIZE_LAYOUT
|
#endif // COLORIZE_LAYOUT
|
||||||
|
|
||||||
|
SetPalette(line_default_palette,Qt::black);
|
||||||
|
|
||||||
setAcceptDrops(true);
|
setAcceptDrops(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -894,6 +896,7 @@ void LogLineBox::paintEvent(QPaintEvent *e)
|
|||||||
QPainter *p=new QPainter(this);
|
QPainter *p=new QPainter(this);
|
||||||
p->fillRect(0,0,size().width()-2,size().height()-2,
|
p->fillRect(0,0,size().width()-2,size().height()-2,
|
||||||
palette().color(QPalette::Window));
|
palette().color(QPalette::Window));
|
||||||
|
// QGuiApplication::palette().color(QPalette::Window));
|
||||||
p->setPen(palette().color(QPalette::Dark));
|
p->setPen(palette().color(QPalette::Dark));
|
||||||
p->drawRect(0,0,size().width()-1,size().height()-1);
|
p->drawRect(0,0,size().width()-1,size().height()-1);
|
||||||
p->end();
|
p->end();
|
||||||
|
|||||||
Reference in New Issue
Block a user