mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 09:03:40 +02:00
2022-03-09 Fred Gleason <fredg@paravelsystems.com>
* Refactored the 'RDAddLog' dialog to allow for instance reuse. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// List Rivendell Casts
|
||||
//
|
||||
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// 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
|
||||
@@ -247,7 +247,8 @@ void ListCasts::addLogData()
|
||||
RDListLogs *lld=
|
||||
new RDListLogs(&logname,RDLogFilter::UserFilter,"RDCastManager",this);
|
||||
if(lld->exec()) {
|
||||
RDLogModel *model=new RDLogModel(logname,true,this);
|
||||
RDLogModel *model=new RDLogModel(true,this);
|
||||
model->setLogName(logname);
|
||||
model->load();
|
||||
QTime start_time;
|
||||
bool ignore_stops=true;
|
||||
@@ -398,12 +399,6 @@ void ListCasts::userChangedData()
|
||||
}
|
||||
|
||||
|
||||
void ListCasts::filterChangedData(const QString &str)
|
||||
{
|
||||
// RefreshList();
|
||||
}
|
||||
|
||||
|
||||
void ListCasts::modelResetData()
|
||||
{
|
||||
list_casts_view->resizeColumnsToContents();
|
||||
|
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// List Rivendell Casts
|
||||
//
|
||||
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// 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
|
||||
@@ -50,7 +50,6 @@ class ListCasts : public RDDialog
|
||||
void deleteData();
|
||||
void doubleClickedData(const QModelIndex &index);
|
||||
void userChangedData();
|
||||
void filterChangedData(const QString &str);
|
||||
void modelResetData();
|
||||
void rowsInsertedData(const QModelIndex &parent,int start,int end);
|
||||
void postProgressChangedData(int step);
|
||||
|
Reference in New Issue
Block a user