Fix wrong theme base path when loading a wps.
commitcc6cc53737ffc32ed6a7c6b1e06c9358dcf6b12a
authorDominik Riebeling <Dominik.Riebeling@gmail.com>
Tue, 8 Mar 2011 21:05:57 +0000 (8 21:05 +0000)
committerDominik Riebeling <Dominik.Riebeling@gmail.com>
Tue, 8 Mar 2011 21:05:57 +0000 (8 21:05 +0000)
tree0a87e7bd262c5ce71800c14e45a57246b792e298
parent4e42cd712c6c4bb952efededefc4d6947b52f43b
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