2018-01-31 Fred Gleason <fredg@paravelsystems.com>

* Converted rdlogedit(1) to use RDApplication.
This commit is contained in:
Fred Gleason
2018-01-31 00:07:58 -05:00
parent f46ee15dad
commit 0adc505ffa
16 changed files with 163 additions and 268 deletions

View File

@@ -2,7 +2,7 @@
//
// Edit a Rivendell Log Chain Entry
//
// (C) Copyright 2002-2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@@ -21,6 +21,7 @@
#include <qpushbutton.h>
#include <qmessagebox.h>
#include <rdapplication.h>
#include <rddb.h>
#include <rdlist_logs.h>
@@ -290,7 +291,7 @@ void EditChain::selectLogData()
QString logname;
RDListLogs *d=
new RDListLogs(&logname,RDLogFilter::UserFilter,rduser,log_config,this);
new RDListLogs(&logname,RDLogFilter::UserFilter,rda->user(),rda->config(),this);
if(d->exec()!=0) {
delete d;
return;