Originally Posted by aIsmail I tried to make something like that Qt Code: Switch view function getFolderUrl(index){ return photosModel.get(index).folder } function getFolderUrl(index){ return photosModel.get(index).folder } To copy to clipboard, switch view to plain text mode Any reason for not using the data provided by the model? Originally Posted by aIsmail I was thinking it's about making ListModel of FolderListModel, but is that possible ? Well, that would be different, right? Your model contains a set of directories, a FolderListModel provides the content of a single directory. Cheers, _
function getFolderUrl(index){ return photosModel.get(index).folder }
Forum Rules
Bookmarks