What is really strange is that QFileDialog getOpenFileName() and getOpenFileNames() should never return a url as there exists getOpenFileUrl() and getOpenFileUrls() in that same QFileDialog class.
My guess is much of the code is shared but that the Name and Names should actively screen out Urls!
So as far as I can tell, this is a Qt bug. We will just have to guard against it.
Last edited by KevinH; 06-07-2025 at 01:43 PM.
|