mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 15:45:59 +01:00
2020-12-29 Fred Gleason <fredg@paravelsystems.com>
* Refactored the Full Log widget in rdairplay to use the model-based API. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -97,11 +97,9 @@ void HourSelector::setTimeMode(RDAirPlayConf::TimeMode mode)
|
||||
}
|
||||
|
||||
|
||||
void HourSelector::updateHours(bool states[24])
|
||||
void HourSelector::updateHour(int hour,bool state)
|
||||
{
|
||||
for(unsigned i=0;i<24;i++) {
|
||||
hour_button[i]->setEnabled(states[i]);
|
||||
}
|
||||
hour_button[hour]->setEnabled(state);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user