https://bugs.kde.org/show_bug.cgi?id=322837
Ahmad Samir <a.samir...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Version Fixed In| |5.78 Latest Commit| |https://invent.kde.org/fram | |eworks/kio/commit/c5dbb7c54 | |52f1af637540efdf09061765c0f | |fb2d --- Comment #9 from Ahmad Samir <a.samir...@gmail.com> --- Git commit c5dbb7c5452f1af637540efdf09061765c0ffb2d by Ahmad Samir. Committed on 12/12/2020 at 10:15. Pushed by dfaure into branch 'master'. KFileWidget: allow files that begin with a ':' to be selected The issue was that a ':' at the beginning denotes a Qt Resource and in that case QDir::isAbsolutePath() would return true. The bug is fixed by guarding against that condition in slotOk(). Also guard other QDir::isAbsolutePath() usage the same way. Since this logic will be used in various places use a helper function, isAbsoluteLocalPath() (thanks to dfaure for coming up with that name), in pathhelpers_p.h. Extend the unit tests. FIXED-IN: 5.78 M +15 -6 autotests/kfilewidgettest.cpp M +5 -6 src/filewidgets/kfilewidget.cpp M +10 -0 src/pathhelpers_p.h https://invent.kde.org/frameworks/kio/commit/c5dbb7c5452f1af637540efdf09061765c0ffb2d -- You are receiving this mail because: You are watching all bug changes.