mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01: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:
@@ -20351,3 +20351,6 @@
|
|||||||
* Fixed a regression in rdxport.cgi(1) that caused segfaults when
|
* Fixed a regression in rdxport.cgi(1) that caused segfaults when
|
||||||
processing the 'PostRss' for feeds enclosed by one or more
|
processing the 'PostRss' for feeds enclosed by one or more
|
||||||
superfeeds.
|
superfeeds.
|
||||||
|
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.
|
||||||
|
|||||||
@@ -145,10 +145,12 @@ ListCasts::ListCasts(unsigned feed_id,bool is_super,QWidget *parent)
|
|||||||
list_casts_view->setColumnAlignment(8,Qt::AlignLeft);
|
list_casts_view->setColumnAlignment(8,Qt::AlignLeft);
|
||||||
list_casts_view->addColumn(tr("SHA1"));
|
list_casts_view->addColumn(tr("SHA1"));
|
||||||
list_casts_view->setColumnAlignment(9,Qt::AlignLeft);
|
list_casts_view->setColumnAlignment(9,Qt::AlignLeft);
|
||||||
|
if(!list_feed->isSuperfeed()) {
|
||||||
connect(list_casts_view,
|
connect(list_casts_view,
|
||||||
SIGNAL(doubleClicked(Q3ListViewItem *,const QPoint &,int)),
|
SIGNAL(doubleClicked(Q3ListViewItem *,const QPoint &,int)),
|
||||||
this,
|
this,
|
||||||
SLOT(doubleClickedData(Q3ListViewItem *,const QPoint &,int)));
|
SLOT(doubleClickedData(Q3ListViewItem *,const QPoint &,int)));
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Post Cart Button
|
// Post Cart Button
|
||||||
@@ -448,6 +450,7 @@ void ListCasts::userChangedData()
|
|||||||
|
|
||||||
list_cart_button->setEnabled(rda->user()->addPodcast()&&(!is_superfeed));
|
list_cart_button->setEnabled(rda->user()->addPodcast()&&(!is_superfeed));
|
||||||
list_file_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_edit_button->setEnabled(rda->user()->editPodcast()&&(!is_superfeed));
|
||||||
list_delete_button->
|
list_delete_button->
|
||||||
setEnabled(rda->user()->deletePodcast()&&(!is_superfeed));
|
setEnabled(rda->user()->deletePodcast()&&(!is_superfeed));
|
||||||
|
|||||||
Reference in New Issue
Block a user