forked from qt-creator/qt-creator
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
This commit is contained in:
@@ -694,6 +694,7 @@ private:
|
||||
}
|
||||
|
||||
FakeMetaMethod method(name, type);
|
||||
method.setMethodType(FakeMetaMethod::Slot);
|
||||
|
||||
while (_xml.readNextStartElement()) {
|
||||
if (_xml.name() == QLatin1String("param")) {
|
||||
|
Reference in New Issue
Block a user