View Single Post
Old 06-07-2025, 12:50 PM   #58
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,904
Karma: 6120478
Join Date: Nov 2009
Device: many
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.
KevinH is online now   Reply With Quote