Fix wrong theme base path when loading a wps.
commit7225f3cbaee1052c87b4475b0aabb2fdb869809c
authorbluebrother <bluebrother@a1c6a512-1295-4272-9138-f99709370657>
Tue, 8 Mar 2011 21:05:57 +0000 (8 21:05 +0000)
committerbluebrother <bluebrother@a1c6a512-1295-4272-9138-f99709370657>
Tue, 8 Mar 2011 21:05:57 +0000 (8 21:05 +0000)
tree0a87e7bd262c5ce71800c14e45a57246b792e298
parent6b6af010b08ea7259a8300ab983c6ca37f7737dc
Fix wrong theme base path when loading a wps.

When loading a wps in the Theme Editor without having a theme cfg loaded
the base path derived from it would be wrong. Make sure to start from
the wps files folder when deriving it. Still assumes the wps file to be
in the standard layout, i.e. in a folder called wps/.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29545 a1c6a512-1295-4272-9138-f99709370657
utils/themeeditor/models/parsetreemodel.cpp