Commit 11466359 authored by Victor Yacovlev's avatar Victor Yacovlev

Robot headless crash fix on Win32

parent 0e6454ba
......@@ -4404,6 +4404,7 @@ QList<ExtensionSystem::CommandLineParameter> RobotModule::acceptableCommandLine
}
QString RobotModule::initialize(const QStringList &configurationParameters, const ExtensionSystem::CommandLine & runtimeParameters)
{
#ifdef Q_OS_LINUX
QProcessEnvironment pe;
pe=QProcessEnvironment::systemEnvironment();
// qDebug()<<"PE"<<pe.toStringList();
......@@ -4417,6 +4418,7 @@ QString RobotModule::initialize(const QStringList &configurationParameters, cons
return "";
}
qDebug()<<"Robot:GuiMode";
#endif
DISPLAY=true;
if (!configurationParameters.contains("tablesOnly")) {
createGui();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment