Details
-
Task
-
Resolution: Fixed
-
P3: Somewhat important
-
5.15.7, 6.3.0
-
None
-
-
17318c4805d089f10c25f8165dae7d1f908bd311
Description
Wrong documented type of Drag::mimeData. It is implemented as QVariantMap (which is a type alias to QMap<QString, QVariant>), but the property is documented to be of a nonexistent superficial type "stringlist".
I don't know how to document that type properly, but even the more correct one list<string> is not suitable here.
Besides, code examples use the notation of an inline JavaScript object. While it works in this particular case, in other parts of QML documentation it was stated that such braces may (and will) be treated as block of code, leading to syntax errors. It is suggested to use braces inside parenthesis instead, like this:
Drag.mimeData: ({prop: val})
Attachments
Issue Links
- is replaced by
-
QTBUG-71922 Mime data is corrupted when using QQuickDragAttached and it's not UTF-8
- Closed