diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-10 16:25:46 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-10 16:28:42 (GMT) |
commit | be8c17034b99c5f52b5d885055493c405fd5eadb (patch) | |
tree | 11324b57672c383fc77730d2e7cd5487ddafb4c7 /demos/qtdemo/menucontent.h | |
parent | 29259d93691f0fc7790108c00a8718c07fa3ae5e (diff) | |
download | Qt-be8c17034b99c5f52b5d885055493c405fd5eadb.zip Qt-be8c17034b99c5f52b5d885055493c405fd5eadb.tar.gz Qt-be8c17034b99c5f52b5d885055493c405fd5eadb.tar.bz2 |
Fixes regression in QStyleSheet regarding QFrame:no-frame
In Qt know the frame is drawn in PE_Widget with stylesheet. But the
QStyleOption passed by QWidgetPrivate::drawBackground is really simple
and doesn't contains frame information.
We need to rely on the widget itself to know if we should look for the
:no-frame pseudo element.
Reviewed-by: jbache
Task-number: 261110
Diffstat (limited to 'demos/qtdemo/menucontent.h')
0 files changed, 0 insertions, 0 deletions