mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 00:21:21 +02:00
2018-10-28 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression that caused the bankground of blank Sound Panel buttons to be black.
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <qpixmap.h>
|
||||
#include <qpainter.h>
|
||||
//Added by qt3to4:
|
||||
#include <QDropEvent>
|
||||
#include <QMouseEvent>
|
||||
#include <QKeyEvent>
|
||||
@@ -52,8 +51,8 @@ void RDPanelButton::clear()
|
||||
{
|
||||
setText("");
|
||||
setOutputText("");
|
||||
setDefaultColor(button_parent->backgroundColor());
|
||||
setColor(button_parent->backgroundColor());
|
||||
button_color=Qt::lightGray;
|
||||
button_default_color=Qt::lightGray;
|
||||
setCart(0);
|
||||
button_deck=-1;
|
||||
button_output=-1;
|
||||
@@ -492,6 +491,7 @@ void RDPanelButton::WriteKeycap(int secs)
|
||||
setPixmap(*pix);
|
||||
delete p;
|
||||
delete pix;
|
||||
update();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user