Regression: Qml access to annotations leads to crash
Using the object returned by Segment::qmlAnnotations crashes MuseScore.
I think this was introduced in c14a4e7e
QList qmlAnnotations; foreach (Element* e : _annotations) qmlAnnotations.append(*e); return QQmlListProperty(this, qmlAnnotations);
As described in http://doc.qt.io/qt-5/qqmllistproperty.html#QQmlListProperty, a local variable cannot be used for QQmlListProperty::QQmlListProperty(QObject *object, QList &list):
The list reference must remain valid for as long as object exists.
I consider this of major priority since every plugin that uses the documented annotations property will eventually crash MuseScore.