mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-24 16:41:40 +02:00
2023-10-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcartslots(1) that displayed red or green color around the edges of start buttons when the buttons were disabled. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
fee45742ef
commit
afb21ee395
@ -24441,3 +24441,7 @@
|
||||
be leaked when a play-out hit EOF.
|
||||
2023-10-09 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed regressions in 'RDCae' that broke various mixer CAE commands.
|
||||
2023-10-09 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a regression in rdcartslots(1) that displayed red or green
|
||||
color around the edges of start buttons when the buttons were
|
||||
disabled.
|
||||
|
@ -186,6 +186,7 @@ void RDCartSlot::updateOptions()
|
||||
break;
|
||||
|
||||
case RDSlotOptions::BreakawayMode:
|
||||
unload();
|
||||
SetInput(true);
|
||||
slot_start_button->setDisabled(true);
|
||||
slot_box->setService(slot_svcname);
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Start/stop button for rdcartslots(1).
|
||||
//
|
||||
// (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2021-2023 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Library General Public License
|
||||
@ -34,9 +34,15 @@ RDSlotButton::RDSlotButton(int slotnum,QWidget *parent,RDConfig *c)
|
||||
d_ready_color=
|
||||
QPalette(QColor(BUTTON_STOPPED_BACKGROUND_COLOR),
|
||||
palette().color(QPalette::Background));
|
||||
d_ready_color.setColor(QPalette::Disabled,QPalette::Button,
|
||||
palette().color(QPalette::Disabled,QPalette::Button));
|
||||
|
||||
d_playing_color=
|
||||
QPalette(QColor(BUTTON_PLAY_BACKGROUND_COLOR),
|
||||
palette().color(QPalette::Background));
|
||||
d_playing_color.setColor(QPalette::Disabled,QPalette::Button,
|
||||
palette().color(QPalette::Disabled,QPalette::Button));
|
||||
|
||||
setFocusPolicy(Qt::NoFocus);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user