mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 08:40:12 +01:00
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:
@@ -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.
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user