mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 12:12:32 +02:00
remove dead code
This commit is contained in:
parent
ec4f9fdc11
commit
b0f444e179
1 changed files with 0 additions and 17 deletions
|
@ -131,20 +131,3 @@ quint32 scriptable::ScriptableModel::mapAttributeValues(QScriptValue callback) {
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*namespace {
|
|
||||||
QScriptValue modelPointerToScriptValue(QScriptEngine* engine, scriptable::ScriptableModelPointer const &in) {
|
|
||||||
return qObjectToScriptValue(engine, in);
|
|
||||||
}
|
|
||||||
void modelPointerFromScriptValue(const QScriptValue& value, scriptable::ScriptableModelPointer &out) {
|
|
||||||
out = scriptable::qpointer_qobject_cast<scriptable::ScriptableModel>(value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace scriptable {
|
|
||||||
bool registerMetaTypes(QScriptEngine* engine) {
|
|
||||||
qScriptRegisterMetaType(engine, modelPointerToScriptValue, modelPointerFromScriptValue);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
Loading…
Reference in a new issue