diff --git a/ChangeLog b/ChangeLog index 0dd306e0..29a02d10 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24311,3 +24311,6 @@ 2023-08-02 Fred Gleason * Added a 'Last Played' column to the library list in rdlibrary(1). * Added a 'Ingested On' column to the library list in rdlibrary(1). +2023-08-02 Fred Gleason + * Changed the tree view widget on the main window of rdcastmananger(1) + to be a table view. diff --git a/rdcastmanager/rdcastmanager.cpp b/rdcastmanager/rdcastmanager.cpp index 7a3e5e1d..00af6af1 100644 --- a/rdcastmanager/rdcastmanager.cpp +++ b/rdcastmanager/rdcastmanager.cpp @@ -98,7 +98,7 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent) // // Feed List // - cast_feed_view=new RDTreeView(this); + cast_feed_view=new RDTableView(this); cast_feed_model=new RDFeedListModel(false,false,this); cast_feed_model->setFont(font()); cast_feed_model->setPalette(palette()); @@ -185,6 +185,7 @@ void MainWidget::modelResetData() for(int i=0;icolumnCount();i++) { cast_feed_view->resizeColumnToContents(i); } + cast_feed_view->resizeRowsToContents(); } diff --git a/rdcastmanager/rdcastmanager.h b/rdcastmanager/rdcastmanager.h index f25fa6e0..d5a42757 100644 --- a/rdcastmanager/rdcastmanager.h +++ b/rdcastmanager/rdcastmanager.h @@ -2,7 +2,7 @@ // // A RSS Feed Management Utility for Rivendell. // -// (C) Copyright 2002-2022 Fred Gleason +// (C) Copyright 2002-2023 Fred Gleason // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include #include #include @@ -59,7 +59,7 @@ class MainWidget : public RDMainWindow void closeEvent(QCloseEvent *e); private: - RDTreeView *cast_feed_view; + RDTableView *cast_feed_view; RDFeedListModel *cast_feed_model; QPushButton *cast_open_button; QPushButton *cast_copy_button;