tags:

views:

401

answers:

1

How does one use QFileSystemModel in the context of a QCompleter? It looks like a better choice than QDirModel as it is non UI-blocking. The following snippet doesn't seem to do anything.

QLineEdit* l = new QLineEdit ;
QCompleter* c = new QCompleter ;
QFileSystemModel* m = new QFileSystemModel ;
m->setRootPath( "c:\\" ) ;
c->setModel( m ) ;
l->setCompleter( c ) ;
A: 

Looks like it just hasn't been implemented yet.

http://qt.nokia.com/developer/task-tracker/index_html?method=entry&id=221860

swongu