[Qt-interest] (no subject)
R. Reucher
rene.reucher at batcom-it.net
Wed Sep 9 08:06:46 CEST 2009
Hi,
please use a better subject next time. Thanks!
tunggeorge wrote:
> I used QDirModel and QTreeView to display the FileSystem, and sometimes the
> QDirModel isn't work well. for example, when i mounted a bad DVD-Rom disk,
> and i refresh the /media/dvd. the QDirModel suspend the Gui. I thought
> QFileSystemModel will be replace QDirModel, and I try it.but others problem
> appear. How can I use the QDirModel, anyone give me some advices.
What where your problems with QFileSystemModel?
As this model uses a separate thread to refresh the directory / file system
contents, I'd say that it's the better choice (i.e., shouldn't freeze the GUI
thread).
I've not used it myself yet, though.
Have fun, René
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/
More information about the Qt-interest-old
mailing list