mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 09:43:01 +02:00
fix typo preventing methods from being discovered on scriptable objects when we're ignoring superclasses
This commit is contained in:
parent
a822110a62
commit
67260b92bd
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ void ScriptObjectQtProxy::investigate() {
|
|||
}
|
||||
|
||||
// discover methods
|
||||
startIdx = _wrapOptions & ScriptEngine::ExcludeSuperClassMethods ? metaObject->methodCount() : 0;
|
||||
startIdx = (_wrapOptions & ScriptEngine::ExcludeSuperClassMethods) ? metaObject->methodOffset() : 0;
|
||||
num = metaObject->methodCount();
|
||||
QHash<QScriptString, int> methodNames;
|
||||
for (int idx = startIdx; idx < num; ++idx) {
|
||||
|
|
Loading…
Reference in a new issue