From 426d2e5dbb55694b26a8524a9b3f4c5672a3afe2 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Tue, 23 Feb 2021 18:03:47 +0100 Subject: [PATCH] WIP --- src/Session/SALOME_Session_Server.cxx | 3 +-- src/Session/salome2810.cxx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Session/SALOME_Session_Server.cxx b/src/Session/SALOME_Session_Server.cxx index 4b4da229d..3d2a5ea41 100644 --- a/src/Session/SALOME_Session_Server.cxx +++ b/src/Session/SALOME_Session_Server.cxx @@ -457,8 +457,7 @@ int AbstractGUIAppMain(int argc, char **argv) QApplication::setOrganizationName("salome"); QApplication::setApplicationName("salome"); QApplication::setApplicationVersion(salomeVersion()); - //int vvvv(90); - //std::cin >> vvvv; + // Install Qt debug messages handler MsgHandler msgHandler; qInstallMessageHandler(QtxMsgHandler); diff --git a/src/Session/salome2810.cxx b/src/Session/salome2810.cxx index b4bae5304..74591be66 100644 --- a/src/Session/salome2810.cxx +++ b/src/Session/salome2810.cxx @@ -75,6 +75,6 @@ int main(int argc, char *argv[]) proc.setArguments(args); proc.setProcessChannelMode( QProcess::ForwardedErrorChannel ); proc.start(); - proc.waitForFinished(); + proc.waitForFinished(-1); return proc.exitCode(); } -- 2.39.2