Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, May 2007
QDirModel::refresh seems to freak out


Message 1 in thread

I have a QTreeView connected to a QDirModel which is pointing to a 
subdirectory.  I do a refresh after file system level operations to synch the 
dir model.

On 4.2.2 this process is rock-solid.  I added keystroke access to the refresh 
to verify this.  On 4.3.0beta, however, the refresh inevitably freaks out and 
I end up with a view of a subdirectory of my subdirectory or a view at the 
drive level of the filesystem.

Any assistance would be appreciated.

Thanks,
David Huang

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 2 in thread

On Tuesday 01 May 2007 18:54:37 David Huang wrote:
> I have a QTreeView connected to a QDirModel which is pointing to a
> subdirectory.  I do a refresh after file system level operations to synch
> the dir model.
>
> On 4.2.2 this process is rock-solid.  I added keystroke access to the
> refresh to verify this.  On 4.3.0beta, however, the refresh inevitably
> freaks out and I end up with a view of a subdirectory of my subdirectory or
> a view at the drive level of the filesystem.
>
> Any assistance would be appreciated.
>
> Thanks,
> David Huang

Do you have a small example that can reproduce the problem?  Is this in 
windows or linux/mac?

-Benjamin Meyer

Attachment:

Attachment: pgpWqdKApThAJ.pgp
Description: PGP signature