diff --git a/bindings.json b/bindings.json index 3a5032e..f4ba258 100644 --- a/bindings.json +++ b/bindings.json @@ -1,22 +1,22 @@ { - "cppfile": "src/tmp.cpp", - "objects": [{ - "name": "Test", - "properties": [{ - "name": "userName", - "type": "QString", - "write": true - }, { - "name": "age", - "type": "int" - }, { - "name": "active", - "type": "bool", - "write": true - }, { - "name": "misc", - "type": "QVariant", - "write": true + "cppfile": "src/tmp.cpp", + "objects": [{ + "name": "Test", + "properties": [{ + "name": "userName", + "type": "QString", + "write": true + }, { + "name": "age", + "type": "int" + }, { + "name": "active", + "type": "bool", + "write": true + }, { + "name": "misc", + "type": "QVariant", + "write": true + }] }] - }] } diff --git a/rust_qt_binding_generator/rust_qt_binding_generator.cpp b/rust_qt_binding_generator/rust_qt_binding_generator.cpp index 0298d56..ec51540 100644 --- a/rust_qt_binding_generator/rust_qt_binding_generator.cpp +++ b/rust_qt_binding_generator/rust_qt_binding_generator.cpp @@ -73,15 +73,6 @@ parseConfiguration(const QString& path) { c.objects.append(parseObject(val.toObject())); } return c; - /* - QTextStream in(&configurationFile); - in.setCodec("UTF-8"); - configuration = in.readAll(); - configurationFile.close(); - } else { - return 1; - } -*/ } QString upperInitial(const QString& name) {