summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
authorJarek Kobus <jkobus@trolltech.com>2010-03-04 08:23:53 (GMT)
committerJarek Kobus <jkobus@trolltech.com>2010-03-04 08:34:33 (GMT)
commit8d6b5483e34d27f1ee45af9d9fadb87525c9f915 (patch)
tree18b1a474335a3a3f44a73ec89aa4e910c2f4079d /src/gui/text
parenta3e7f41b085605b6856686b5dfd29818308bd820 (diff)
downloadQt-8d6b5483e34d27f1ee45af9d9fadb87525c9f915.zip
Qt-8d6b5483e34d27f1ee45af9d9fadb87525c9f915.tar.gz
Qt-8d6b5483e34d27f1ee45af9d9fadb87525c9f915.tar.bz2
Make QLabel::text a reloadable property
In this way we can correctly load / reload a label in case it contains a rich text with a reference to the image taken from resources. Since QLabel::setText() ignores the call in case we try to set the same text, we force the reload by setting the empty string in between. For performance reasons we do it only in cases when the text value contains :/ (only in this case it might have a reference to the resources). Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Task-number: QTBUG-8347
Diffstat (limited to 'src/gui/text')
0 files changed, 0 insertions, 0 deletions