Skip to content

qt: handle `QVariant` in `MainCtx::urlListToMimeData()`

Fatih Uzunoğlu requested to merge fuzun/vlc:qt/mimetypehandlevariant into master

Sometimes the array elements may be variant (QVariant), even though the actual type is a QUrl or a QString.

This is an odd case because QUrl is automatically converted to url value type when passed to QML. However, the source url may already be provided as a QVariant, where in that case this conversion would not occur.

Request review @chub.

Merge request reports

Loading