mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 18:23:22 +02:00
better code style
This commit is contained in:
parent
b6798adb5c
commit
1fde68c86e
1 changed files with 1 additions and 3 deletions
|
@ -369,9 +369,7 @@ QScriptValue EntityItemProperties::copyToScriptValue(QScriptEngine* engine, bool
|
|||
COPY_PROPERTY_TO_QSCRIPTVALUE_GETTER_NO_SKIP(ageAsText, formatSecondsElapsed(getAge())); // gettable, but not settable
|
||||
}
|
||||
|
||||
|
||||
QScriptValue V = convertScriptValue(engine, _lastEdited);
|
||||
properties.setProperty("lastEdited", V);
|
||||
properties.setProperty("lastEdited", convertScriptValue(engine, _lastEdited));
|
||||
COPY_PROPERTY_TO_QSCRIPTVALUE(PROP_LAST_EDITED_BY, lastEditedBy);
|
||||
COPY_PROPERTY_TO_QSCRIPTVALUE(PROP_POSITION, position);
|
||||
COPY_PROPERTY_TO_QSCRIPTVALUE(PROP_DIMENSIONS, dimensions);
|
||||
|
|
Loading…
Reference in a new issue