diff --git a/ChangeLog b/ChangeLog index 1ec418b5..8e9ae7ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22967,3 +22967,6 @@ 2022-03-25 Fred Gleason * Fixed a bug in rdclilogedit(1) that caused startup to fail if an X11 display context was not available. +2022-03-29 Fred Gleason + * Fixed a bug in rdlogmanager(1) that caused startup to fail when + using the '-r' option when an X11 display context was not available. diff --git a/rdlogmanager/commandline_ops.cpp b/rdlogmanager/commandline_ops.cpp index ba9d9c00..9d74b5e1 100644 --- a/rdlogmanager/commandline_ops.cpp +++ b/rdlogmanager/commandline_ops.cpp @@ -2,7 +2,7 @@ // // Command Line Operations for RDLogManager // -// (C) Copyright 2012-2021 Fred Gleason +// (C) Copyright 2012-2022 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 @@ -18,7 +18,7 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. // -#include +#include #include #include @@ -36,7 +36,7 @@ int RunReportOperation(int argc,char *argv[],const QString &rptname, QString out_path; QString err_msg; - QApplication a(argc,argv,false); + QCoreApplication a(argc,argv); if(end_offset