mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-18 14:14:59 +02:00
2023-10-30 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'int id' parameter from the 'RDSlotButton::setState()' method. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
b8f4f95fcd
commit
5d80223ddc
@ -24468,3 +24468,6 @@
|
||||
* Fixed a regression in rdcartslots(1) that caused the color of
|
||||
the start buttons to fail to update correctly when in
|
||||
'Restart Playout (Loop)' mode.
|
||||
2023-10-30 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Removed the 'int id' parameter from the 'RDSlotButton::setState()'
|
||||
method.
|
||||
|
@ -59,7 +59,7 @@ QString RDSlotButton::portLabel() const
|
||||
}
|
||||
|
||||
|
||||
void RDSlotButton::setState(int id,RDPlayDeck::State state)
|
||||
void RDSlotButton::setState(RDPlayDeck::State state)
|
||||
{
|
||||
switch(state) {
|
||||
case RDPlayDeck::Playing:
|
||||
|
@ -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
|
||||
@ -33,9 +33,9 @@ class RDSlotButton : public QPushButton, public RDFontEngine
|
||||
RDSlotButton(int slotnum,QWidget *parent,RDConfig *c=NULL);
|
||||
int slotNumber() const;
|
||||
QString portLabel() const;
|
||||
void setState(RDPlayDeck::State state);
|
||||
|
||||
public slots:
|
||||
void setState(int id,RDPlayDeck::State state);
|
||||
void setPortLabel(const QString &str);
|
||||
|
||||
protected:
|
||||
|
Loading…
x
Reference in New Issue
Block a user