const std::shared_ptr<FFBConditionEffectParameters> cdParams = std::dynamic_pointer_cast<FFBConditionEffectParameters>(params);
return fillFromParameters(cdParams);
} catch (std::bad_cast& ex) {
- qCritical(ex.what());
+ qCritical("%s\n", ex.what());
return false;
}
}
ui->qle_level->setText(QString::number(cfParams->level));
return ui->qwid_envelope->fillFromParameters(params);
} catch (std::bad_cast& ex) {
- qCritical(ex.what());
+ qCritical("%s\n", ex.what());
return false;
}
return false;
ui->qle_fadeLevel->setText(QString::number(envParams->fadeLevel));
return true;
} catch (std::bad_cast& ex) {
- qCritical(ex.what());
+ qCritical("%s\n", ex.what());
return false;
}
return false;
try {
return setParameters(std::dynamic_pointer_cast<FFBConditionEffectParameters>(params));
} catch (const std::bad_cast& ex) {
- qCritical(ex.what());
+ qCritical("%s\n", ex.what());
return false;
}
return false;
ui->qle_phase->setText(QString::number(pParams->phase));
return ui->qwid_envelope->fillFromParameters(pParams);
} catch (std::bad_cast& ex) {
- qCritical(ex.what());
+ qCritical("%s\n", ex.what());
return false;
}
return false;
ui->qle_startLevel->setText(QString::number(rfParams->startLevel));
return ui->qwid_envelope->fillFromParameters(params);
} catch (std::bad_cast& ex) {
- qCritical(ex.what());
+ qCritical("%s\n", ex.what());
return false;
}
return false;
ui->qle_weakMag->setText(QString::number(ruParams->weakMagnitude));
return true;
} catch (std::bad_cast& ex) {
- qCritical(ex.what());
+ qCritical("%s\n", ex.what());
return false;
}
return false;