Commit c4a979a9 authored by Christian Kamm's avatar Christian Kamm
Browse files

QmlJS: Fix completion for slots.

When reading the xml file describing the Qml types, we incorrectly
classified all functions as methods. They should be slots, since
otherwise qmldump couldn't have dumped them in the first place.

Task-number: QTCREATORBUG-1755
Reviewed-by: Erik Verbruggen
parent d5a0ec48
......@@ -694,6 +694,7 @@ private:
}
FakeMetaMethod method(name, type);
method.setMethodType(FakeMetaMethod::Slot);
while (_xml.readNextStartElement()) {
if (_xml.name() == QLatin1String("param")) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment