2022-03-29 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdlogmanager(1) that caused startup to fail when
	using the '-r' option when an X11 display context was not available.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-03-29 13:17:22 -04:00
parent 427a964e6b
commit 91345cb991
2 changed files with 6 additions and 3 deletions

View File

@@ -22967,3 +22967,6 @@
2022-03-25 Fred Gleason <fredg@paravelsystems.com> 2022-03-25 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdclilogedit(1) that caused startup to fail if * Fixed a bug in rdclilogedit(1) that caused startup to fail if
an X11 display context was not available. an X11 display context was not available.
2022-03-29 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogmanager(1) that caused startup to fail when
using the '-r' option when an X11 display context was not available.

View File

@@ -2,7 +2,7 @@
// //
// Command Line Operations for RDLogManager // Command Line Operations for RDLogManager
// //
// (C) Copyright 2012-2021 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2012-2022 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // 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 // 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. // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
// //
#include <QApplication> #include <QCoreApplication>
#include <dbversion.h> #include <dbversion.h>
#include <rdapplication.h> #include <rdapplication.h>
@@ -36,7 +36,7 @@ int RunReportOperation(int argc,char *argv[],const QString &rptname,
QString out_path; QString out_path;
QString err_msg; QString err_msg;
QApplication a(argc,argv,false); QCoreApplication a(argc,argv);
if(end_offset<start_offset) { if(end_offset<start_offset) {
fprintf(stderr, fprintf(stderr,