Skip to content
Snippets Groups Projects
Commit 0ae75355 authored by Daniel Teske's avatar Daniel Teske
Browse files

ProjectTree; Fix directoryFor() to handle new resource nodes


The resource nodes do have a special path, the code assumed that
folder's path were always directories. This is no longer true.

Both pathFor() and directoryFor() suffer from path() being special for
VirtualFolderNodes and ResourceNodes. That specialness is probably not
a good idea, cleaning that up is a longer term task.

Task-number: QTCREATORBUG-11677
Change-Id: I995e82b7ed361b5e2c6681484074c65e2175c96e
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent e060086f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment