mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-07 16:07:45 +02:00
2021-01-18 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdlibrary(1) that caused macro carts to get an evergreen background color. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
cd581d3c51
commit
fa323e8961
@ -20821,3 +20821,6 @@
|
||||
2021-01-17 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Restored enforcement of service authorized groups in rdairplay(1)
|
||||
and rdlogedit(1).
|
||||
2021-01-18 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a regression in rdlibrary(1) that caused macro carts to
|
||||
get an evergreen background color.
|
||||
|
@ -603,6 +603,7 @@ void RDLibraryModel::updateRow(int row,RDSqlQuery *q)
|
||||
d_texts[row][20]=q->value(21); // Owned By
|
||||
d_notes[row]=q->value(30).toString();
|
||||
|
||||
if(q->value(15).toUInt()==RDCart::Audio) {
|
||||
switch((RDCart::Validity)q->value(22).toUInt()) {
|
||||
case RDCart::NeverValid:
|
||||
d_background_colors[row]=QColor(RD_CART_ERROR_COLOR);
|
||||
@ -631,8 +632,11 @@ void RDLibraryModel::updateRow(int row,RDSqlQuery *q)
|
||||
d_background_colors[row]=QColor(RD_CART_EVERGREEN_COLOR);
|
||||
break;
|
||||
}
|
||||
|
||||
// printf("start at: %d\n",q->at());
|
||||
}
|
||||
if(q->value(15).toUInt()==RDCart::Macro) {
|
||||
d_background_colors[row]=
|
||||
QColor(palette().color(QPalette::Active,QColorGroup::Base));
|
||||
}
|
||||
|
||||
//
|
||||
// Cut Attributes
|
||||
|
Loading…
x
Reference in New Issue
Block a user