diff options
author | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-05-28 11:40:59 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-05-28 11:49:55 (GMT) |
commit | 8ed5931925b4e8ed8f098b5c36e1378f95d7d25a (patch) | |
tree | 434066f33f131a5c6d3f1f02fe3e5c5224a3eaf2 /src | |
parent | b2a1e5938e1abf45d70cbfa7ec1ab0c21c01911d (diff) | |
download | Qt-8ed5931925b4e8ed8f098b5c36e1378f95d7d25a.zip Qt-8ed5931925b4e8ed8f098b5c36e1378f95d7d25a.tar.gz Qt-8ed5931925b4e8ed8f098b5c36e1378f95d7d25a.tar.bz2 |
BT: Support saving forms with resources more than once in Qt Jambi
When a form is loaded, Designer will set the path to the resource as
an absolute path rather than the path actually stored in the file. There
is code to work around this to make file paths relative when saving the
file later on, but no work around for Qt Jambi. So when saving Qt Jambi
forms, you would get an absolute path to the resource which contains the
location of the resource file (.jar or on disk) This of course breaks
the concept of resources, as the .jui file was no longer portable. The
fix is to special case Qt Jambi resources and set the relative path
when loading them.
The patch has no effect on regular Designer.
Task-number: 254621
Reviewed-by: Kai Koehne
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions