From: Anthony Geay Date: Tue, 23 Feb 2021 17:03:47 +0000 (+0100) Subject: WIP X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=426d2e5dbb55694b26a8524a9b3f4c5672a3afe2;p=modules%2Fgui.git WIP --- 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(); }