mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
repairs to Sound script conversion typos
This commit is contained in:
parent
9aa950e657
commit
9a45a70764
2 changed files with 4 additions and 4 deletions
|
@ -30,11 +30,11 @@
|
|||
#include "Sound.h"
|
||||
|
||||
|
||||
QScriptValue soundToScriptValue(QScriptEngine* engine, Sound* const &in) {
|
||||
QScriptValue soundToScriptValue(QScriptEngine* engine, Sound* const& in) {
|
||||
return engine->newQObject(in);
|
||||
}
|
||||
|
||||
void soundFromScriptValue(const QScriptValue &object, Sound* &out) {
|
||||
void soundFromScriptValue(const QScriptValue& object, Sound*& out) {
|
||||
out = qobject_cast<Sound*>(object.toQObject());
|
||||
}
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ private slots:
|
|||
|
||||
Q_DECLARE_METATYPE(Sound*)
|
||||
|
||||
QScriptValue soundToScriptValue(QScriptEngine* engine, Sound* const &in);
|
||||
void soundFromScriptValue(const QScriptValue &object, Sound* &out);
|
||||
QScriptValue soundToScriptValue(QScriptEngine* engine, Sound* const& in);
|
||||
void soundFromScriptValue(const QScriptValue& object, Sound*& out);
|
||||
|
||||
#endif // hifi_Sound_h
|
||||
|
|
Loading…
Reference in a new issue