/// Called when the delay timer fires to show the missing parameters warning
voidQGCApplication::_missingParamsDisplay(void)
{
if(_missingParams.count()){
QStringparams;
foreach(constQString&name,_missingParams){
if(params.isEmpty()){
params+=name;
}else{
params+=QString(", %1").arg(name);
}
}
_missingParams.clear();
showMessage(tr("Parameters are missing from firmware. You may be running a version of firmware QGC does not work correctly with or your firmware has a bug in it. Missing params: %1").arg(params));
voidQGCApplication::_missingParamsDisplay(void){
if(_missingParams.count()){
QStringparams;
foreach(constQString&name,_missingParams){
if(params.isEmpty()){
params+=name;
}else{
params+=QString(", %1").arg(name);
}
}
_missingParams.clear();
showMessage(tr("Parameters are missing from firmware. You may be running a "
"version of firmware QGC does not work correctly with or "
"your firmware has a bug in it. Missing params: %1")
QGCMessageBox::information(tr("New Version Available"),tr("There is a newer version of %1 available. You can download it from %2.").arg(applicationName()).arg(toolbox()->corePlugin()->stableDownloadLocation()));