View Single Post
Old 6th November 2010, 12:18   #10  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
The behavior of the directory is kind of strange. I only noticed it is a bit slower than it should be.

Problem is that there's not much I can do here, because I use a QTreeView widget with a QFileSystemModel object as the model and that is it

I could try to implement my own model, but that's not a priority currently. And actually I'd prefer to use theirs.

BTW: The use of "/" instead of "\" is because Qt is cross-platform and always uses "/" instead of the "native" separator for Strings that contain a path.

I could use QDir::toNativeSeparators() every single time I output a path string to the GUI though, if people prefer to see a "\" character...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote