Working with QTreeView I've run into a problem related to the expanded signal. It seems that the very first time I select a file in the directory structure, expanded emits three signals, that is, one related to the selected file itself, and two aditional which seems to be the equivalent of the unix . and ..

This only happens the first time I select a file. If a directory is selected only one signal is emitted......
Can expand be configured to emit one signal only?


Thanks,
Vidar