mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
Fix naming clash with reserved word
This commit is contained in:
parent
90ef92c79b
commit
86db12acae
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@ static const float LATE_MIX_LEFT_DEFAULT = 90.0f;
|
|||
static const float LATE_MIX_RIGHT_DEFAULT = 90.0f;
|
||||
static const float WET_DRY_MIX_DEFAULT = 50.0f;
|
||||
|
||||
static void setOption(QScriptValue arguments, const QString name, float default, float& var) {
|
||||
var = arguments.property(name).isNumber() ? arguments.property(name).toNumber() : default;
|
||||
static void setOption(QScriptValue arguments, const QString name, float defaultValue, float& variable) {
|
||||
variable = arguments.property(name).isNumber() ? arguments.property(name).toNumber() : defaultValue;
|
||||
}
|
||||
|
||||
AudioEffectOptions::AudioEffectOptions(QScriptValue arguments) {
|
||||
|
|
Loading…
Reference in a new issue