PDA

View Full Version : Jail QFileDialog



wirasto
20th February 2010, 07:23
How to jail QFileDialog ? So if set /home/user/fakerootdir as setDirectory, the dir will be a root path like / in linux.

wysota
20th February 2010, 18:09
There is no trivial way of doing this. I can imagine how to do it but it's kind of complicated and I'm not sure if it would work at all. Even if it would, it wouldn't work for the native file dialogs.