mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-27 22:19:25 +02:00
2020-08-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'Podcast Item List' dialog in rdcastmanager(1) That caused incorrect data to appear in the 'Posted By' column. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
6ed0c9591a
commit
966edb6bc6
@ -20186,3 +20186,6 @@
|
|||||||
2020-08-09 Fred Gleason <fredg@paravelsystems.com>
|
2020-08-09 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Modified the 'Podcast Item List' dialog in rdcastmanager(1) to
|
* Modified the 'Podcast Item List' dialog in rdcastmanager(1) to
|
||||||
show a blue icon for items with Air Dates in the future.
|
show a blue icon for items with Air Dates in the future.
|
||||||
|
2020-08-09 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a bug in the 'Podcast Item List' dialog in rdcastmanager(1)
|
||||||
|
That caused incorrect data to appear in the 'Posted By' column.
|
||||||
|
@ -589,7 +589,8 @@ void ListCasts::RefreshItem(RDListViewItem *item)
|
|||||||
"FEEDS.KEY_NAME,"+ // 06
|
"FEEDS.KEY_NAME,"+ // 06
|
||||||
"PODCASTS.ITEM_CATEGORY,"+ // 07
|
"PODCASTS.ITEM_CATEGORY,"+ // 07
|
||||||
"PODCASTS.ORIGIN_LOGIN_NAME,"+ // 08
|
"PODCASTS.ORIGIN_LOGIN_NAME,"+ // 08
|
||||||
"PODCASTS.ORIGIN_STATION "+ // 09
|
"PODCASTS.ORIGIN_STATION,"+ // 09
|
||||||
|
"PODCASTS.ORIGIN_DATETIME "+ // 10
|
||||||
"from PODCASTS left join FEEDS "+
|
"from PODCASTS left join FEEDS "+
|
||||||
"on PODCASTS.FEED_ID=FEEDS.ID where "+
|
"on PODCASTS.FEED_ID=FEEDS.ID where "+
|
||||||
QString().sprintf("PODCASTS.ID=%d",item->id());
|
QString().sprintf("PODCASTS.ID=%d",item->id());
|
||||||
@ -627,12 +628,12 @@ void ListCasts::RefreshItem(RDListViewItem *item)
|
|||||||
item->setText(7,q->value(7).toString());
|
item->setText(7,q->value(7).toString());
|
||||||
if(q->value(8).isNull()) {
|
if(q->value(8).isNull()) {
|
||||||
item->setText(8,tr("unknown")+" "+tr("at")+" "+
|
item->setText(8,tr("unknown")+" "+tr("at")+" "+
|
||||||
q->value(3).toDateTime().toString("MM/dd/yyyy hh:mm:ss"));
|
q->value(10).toDateTime().toString("MM/dd/yyyy hh:mm:ss"));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
item->setText(8,q->value(8).toString()+" "+tr("on")+" "+
|
item->setText(8,q->value(8).toString()+" "+tr("on")+" "+
|
||||||
q->value(9).toString()+" "+tr("at")+" "+
|
q->value(9).toString()+" "+tr("at")+" "+
|
||||||
q->value(3).toDateTime().toString("MM/dd/yyyy hh:mm:ss"));
|
q->value(10).toDateTime().toString("MM/dd/yyyy hh:mm:ss"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
delete q;
|
delete q;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user