2021-08-16 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rmlsend(1) that caused it to attempt to
	open an X11 connection even when invoked in CLI mode.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-08-16 11:24:12 -04:00
parent 5ec0d7681a
commit 1fb8578e53
2 changed files with 4 additions and 1 deletions

View File

@@ -22288,3 +22288,6 @@
* Fixed a bug in rdadmin(1) that caused a newly created schedule * Fixed a bug in rdadmin(1) that caused a newly created schedule
code to persist even if its creation was abandoned halfway through code to persist even if its creation was abandoned halfway through
the creation process. the creation process.
2021-08-16 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rmlsend(1) that caused it to attempt to
open an X11 connection even when invoked in CLI mode.

View File

@@ -447,7 +447,7 @@ int main(int argc,char *argv[])
} }
} }
if(cli_mode) { if(cli_mode) {
QApplication a(argc,argv,false); QCoreApplication a(argc,argv);
new MainObject(); new MainObject();
return a.exec(); return a.exec();
} }