View Full Version : QFileDialog and '~'
Levon Nikoghosyan
14th November 2006, 17:16
Are anybody know is QFileDialog support '~' as home dir
jpn
14th November 2006, 17:18
Why don't you test and see? :)
You can always use these to make it more portable:
QDir::home()
QDir::homePath()
Levon Nikoghosyan
14th November 2006, 17:26
I have added ~ in the 'Look In' combobox - and it didn't work :(
Levon Nikoghosyan
14th November 2006, 17:44
Sorry and thanks very much
piotrek
15th November 2006, 20:37
I have added ~ in the 'Look In' combobox - and it didn't work :(
Only ~?
Try ~/.
piotr
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.