diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-04-14 09:44:56 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-04-14 12:56:39 (GMT) |
commit | b15ec327df81f8b0d4934ee2f52a7ccc6a8281c2 (patch) | |
tree | d9312c63e75bd05c094d6c9ebf67a6942813ee4f /.commit-template | |
parent | 91aeceb7132f4afae0996443a162a5783d8f17aa (diff) | |
download | Qt-b15ec327df81f8b0d4934ee2f52a7ccc6a8281c2.zip Qt-b15ec327df81f8b0d4934ee2f52a7ccc6a8281c2.tar.gz Qt-b15ec327df81f8b0d4934ee2f52a7ccc6a8281c2.tar.bz2 |
Fixes: QTreeView font change regression if there is an application stylesheet
The way font propagation work has changed since 4.4: When there is a
stylesheet enabled, font does not propagate.
So when settings a font to the QAbstractItemView, the viewport font will
not change, and hence no QEvent::FontChange on it.
So catch the QEvent::FontChange in QAbstractItemView::event in addition
to QAbstractItemView::viewportEvent. (we seems to use the view's font
everywhere anyway)
Task-number: 250754
Reviewed-by: Jens Bache-Wiig
Diffstat (limited to '.commit-template')
0 files changed, 0 insertions, 0 deletions