[Qt-interest] QFileSystemModel problem

R. Reucher rene.reucher at batcom-it.net
Wed Sep 9 08:32:20 CEST 2009


GrorgeTung wrote:
> I used QFileSystemModel and QTreeView to display the FileSystem, but The
> Model can not support setSorting, of course, this is a tiny problem.
Can't you use QAbstractItemModel::sort(int, Qt::SortOrder) for sorting?

> this second problem is when i delete a file or directory and the QTreeView
> update, the Gui is crash. i can not track the problem.
Well, without seeing the code you've used here we can't help on this... but 
apparently, the problem may have been "somewhere else" than in Qt.

HTH, René
-- 
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/




More information about the Qt-interest-old mailing list