History

Fixed enums in scripting engine

ksuprynowicz committed 4 years ago

Commit ad57a5e1 parent b27e81911 files · +55 −14Browse files

Showing the changes to libraries/script-engine/src/qtscript/ScriptEngineQtScript_cast.cpp (1 of 11 files). Show all

Unified · Split

libraries/script-engine/src/qtscript/ScriptEngineQtScript_cast.cpp+0−1
@@ -42,7 +42,6 @@ void ScriptEngineQtScript::registerCustomType(int type, · 41 unmodified lines
42 CustomMarshal& customType = _customTypes.insert(type, CustomMarshal()).value();42 CustomMarshal& customType = _customTypes.insert(type, CustomMarshal()).value();
43 customType.demarshalFunc = demarshalFunc;43 customType.demarshalFunc = demarshalFunc;
44 customType.marshalFunc = marshalFunc;44 customType.marshalFunc = marshalFunc;
45 qDebug() << "registerCustomType: " << QMetaType(type).name() << " type: " << type << " map size: " << _customTypes.size();
46}45}
47 46
48Q_DECLARE_METATYPE(ScriptValue);47Q_DECLARE_METATYPE(ScriptValue);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t