I create a QFileDialog, call getOpenFileName on it, then try to close it. After that, I open the file in my code (which takes a while). My problem is that the QFileDialog doesn't close until after my code to open the file completes. Why is this? If I try to change the cursor on the QFileDialog to the WaitCursor, it doesn't take affect until after the open operation completes.
How do I get this QFileDialog to close right after getting a filename, or at least display the WaitCursor when the 'open' button is pressed?
Bookmarks