Changes to FolderListModel so that it is usable with Qt5