Hello all!
I have a problem using QCompleter with QFileSystemModel.
My code is:
Qt Code:
dirModel = new QFileSystemModel(this); lineEdit->setCompleter(completer); completer->setModel(dirModel);To copy to clipboard, switch view to plain text mode
When I type something in the lineEdit, all I the suggestions I get from the completer is the root "/".
Does someone know what I am missing here??
Thanks a lot in advance!!!!!!
Bookmarks