mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 15:41:13 +02:00
2020-09-23 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdcastmanager(1) that made it possible to edit underlying posts when viewing a superfeed. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -145,10 +145,12 @@ ListCasts::ListCasts(unsigned feed_id,bool is_super,QWidget *parent)
|
||||
list_casts_view->setColumnAlignment(8,Qt::AlignLeft);
|
||||
list_casts_view->addColumn(tr("SHA1"));
|
||||
list_casts_view->setColumnAlignment(9,Qt::AlignLeft);
|
||||
connect(list_casts_view,
|
||||
SIGNAL(doubleClicked(Q3ListViewItem *,const QPoint &,int)),
|
||||
this,
|
||||
SLOT(doubleClickedData(Q3ListViewItem *,const QPoint &,int)));
|
||||
if(!list_feed->isSuperfeed()) {
|
||||
connect(list_casts_view,
|
||||
SIGNAL(doubleClicked(Q3ListViewItem *,const QPoint &,int)),
|
||||
this,
|
||||
SLOT(doubleClickedData(Q3ListViewItem *,const QPoint &,int)));
|
||||
}
|
||||
|
||||
//
|
||||
// Post Cart Button
|
||||
@@ -448,6 +450,7 @@ void ListCasts::userChangedData()
|
||||
|
||||
list_cart_button->setEnabled(rda->user()->addPodcast()&&(!is_superfeed));
|
||||
list_file_button->setEnabled(rda->user()->addPodcast()&&(!is_superfeed));
|
||||
list_log_button->setEnabled(rda->user()->addPodcast()&&(!is_superfeed));
|
||||
list_edit_button->setEnabled(rda->user()->editPodcast()&&(!is_superfeed));
|
||||
list_delete_button->
|
||||
setEnabled(rda->user()->deletePodcast()&&(!is_superfeed));
|
||||
|
Reference in New Issue
Block a user