View Full Version : the problem of getOpenFileName
It is very interesting problem! The functions getOpenFileName/getOpenFileNames() builds tree of the directories. This functions find all pathes which include folder "My Network Places". One of our servers broke and there procedures didn't find all pathes in network.
How can I cut of this finding for "My Network Places"?
"My Network Places" is listed by the native Windows file dialog. Qt just uses that native dialog provided by Windows.
How can I resolve this problem?
QFileDialog::getOpenFileName() uses WinAPI to show the native file dialog. I guess WinAPI has the possibility to hide "My Network Places" from the file dialog. Take a look at QFileDialog sources for implementation hints and try doing it yourself using WinAPI directly.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.