![]() |
2010-07-31
, 21:52
|
Posts: 11 |
Thanked: 4 times |
Joined on Dec 2009
@ Lisboa, Portugal
|
#2
|
QString path = QFileDialog::getOpenFileName(...); QDir dir = QFileInfo(path).dir();
My problem: I'm not being able to the get the native dialog in a way that allows to also get the directory the user navigated to.
Does any of you know how to get the "best" of both worlds, that is, use the native file dialog but still get access to the directory?