MainWindow::instance()->showCriticalMessage(tr("FlightGear/TerraSync Failed to Start"),tr("Please check if the path and command is correct"));
MainWindow::instance()->showCriticalMessage(tr("FlightGear Failed to Start"),tr("Please check if the path and command is correct"));
break;
caseQProcess::Crashed:
MainWindow::instance()->showCriticalMessage(tr("FlightGear/TerraSync Crashed"),tr("This is a FlightGear-related problem. Please upgrade FlightGear"));
MainWindow::instance()->showCriticalMessage(tr("FlightGear Crashed"),tr("This is a FlightGear-related problem. Please upgrade FlightGear"));
break;
caseQProcess::Timedout:
MainWindow::instance()->showCriticalMessage(tr("FlightGear/TerraSync Start Timed Out"),tr("Please check if the path and command is correct"));
MainWindow::instance()->showCriticalMessage(tr("FlightGear Start Timed Out"),tr("Please check if the path and command is correct"));
break;
caseQProcess::WriteError:
MainWindow::instance()->showCriticalMessage(tr("Could not Communicate with FlightGear/TerraSync"),tr("Please check if the path and command is correct"));
MainWindow::instance()->showCriticalMessage(tr("Could not Communicate with FlightGear"),tr("Please check if the path and command is correct"));
break;
caseQProcess::ReadError:
MainWindow::instance()->showCriticalMessage(tr("Could not Communicate with FlightGear/TerraSync"),tr("Please check if the path and command is correct"));
MainWindow::instance()->showCriticalMessage(tr("Could not Communicate with FlightGear"),tr("Please check if the path and command is correct"));
break;
caseQProcess::UnknownError:
default:
MainWindow::instance()->showCriticalMessage(tr("FlightGear/TerraSync Error"),tr("Please check if the path and command is correct."));
MainWindow::instance()->showCriticalMessage(tr("FlightGear Error"),tr("Please check if the path and command is correct."));