Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
4.4.0
-
None
Description
The QCompleter object has built-in support for the QDirModel in functions such as splitPath(), pathFromIndex(), and a number of other functions. However, QDirModel is synchronous and tends to lock up the GUI thread while it is populating, which is exactly what you don't want to do when the user is typing into an edit field. Since QFileSystemModel serves a similar purpose to QDirModel but does so asynchronously, and there is already precedent for QDirModel having special support in QCompleter, it would seem that support for QFileSystemModel could also fit in without too much trouble.