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:
Fred Gleason 2023-10-30 10:34:19 -04:00
parent b8f4f95fcd
commit 5d80223ddc
3 changed files with 6 additions and 3 deletions

View File

@ -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.

View File

@ -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:

View File

@ -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: