summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-05-28 11:40:59 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-05-29 03:42:29 (GMT)
commit64dcf1e6d94a2e4607fa8083964b71cd8dccad36 (patch)
tree84c2b14096ce5925eace6559121c4f1872912b35 /doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp
parent46f74a8c226ab67a6a9942db041f2294ff1c6f7c (diff)
downloadQt-64dcf1e6d94a2e4607fa8083964b71cd8dccad36.zip
Qt-64dcf1e6d94a2e4607fa8083964b71cd8dccad36.tar.gz
Qt-64dcf1e6d94a2e4607fa8083964b71cd8dccad36.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 (cherry picked from commit 8ed5931925b4e8ed8f098b5c36e1378f95d7d25a)
Diffstat (limited to 'doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp')
0 files changed, 0 insertions, 0 deletions