PDA

View Full Version : QML FolderListModel & StackView



scgrant327
12th May 2016, 17:50
FolderListModel {
id: cacheFolderModel
folder: qsTr("file://%1").arg(appWin.myFilePath)
nameFilters: ["*.che"]
}


On Android & iOS, this works if the page with the FolderListModel is instantiated in my main.qml. However, if I load that page with a StackView, it breaks in iOS. The FolderListModel ends up showing ALL files, not following the 'nameFilters' parameter....

Any ideas on why?

scgrant327
17th May 2016, 23:03
Anyone have any idea?
This is driving me nuts.
:mad: