How to filter DocumentGalleryModel
-
Has anyone been able to filter DocumentGalleryModel?
if using the example from http://doc.trolltech.com/qtmobility-1.1.1/qml-gallery.html
@import QtMobility.gallery 1.1... model: DocumentGalleryModel { rootType: DocumentGallery.Image properties: ["url"] filter: GalleryWildcardFilter { property: "fileName"; value: "*.jpg"; } } ...@
I get error: "QML DocumentGalleryModel: The value of filter is unsupported"
but if I use it without filter it works ok, returning all values.
Here is also a bug report of it
https://bugreports.qt.nokia.com//browse/QTMOBILITY-1656But if you have got this to work, please help