mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-10 22:56:01 +01:00
2018-01-31 Fred Gleason <fredg@paravelsystems.com>
* Converted rdlogedit(1) to use RDApplication.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user