diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-05-27 15:25:01 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-05-28 03:40:16 (GMT) |
commit | 2fb5ea69997ee70887d519227a9594878ccda217 (patch) | |
tree | 1de8bd2288682497a37b92d2632be9bfcde88d5c /doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp | |
parent | 0f0888a37eb61824bf3f6f9fe5ba6ee470500f0d (diff) | |
download | Qt-2fb5ea69997ee70887d519227a9594878ccda217.zip Qt-2fb5ea69997ee70887d519227a9594878ccda217.tar.gz Qt-2fb5ea69997ee70887d519227a9594878ccda217.tar.bz2 |
Fixed: Setting a border using stylesheet for QComboBox adds an unwated frame.
This was already fix. But there was still a frame if there was a
stylesheet on the applicaiton.
The reason is that the frame's constructor call the style for some
hints. And later the combobox will query the style again for the frame
hint, before the view get polished.
The problem is that the StyleSheetStyle will fill the css cache with
wrong information on the first call.
This is not visible if there is no stylesheet as in the constructor, the
widget style is still the default application stylesheet if there is no
global applicaiton stylesheet.
Task-number: 254589
Reviewed-by: jbache
BT:
(cherry picked from commit d0bc0a26f8ac4c2f02819c262b8aa7c3dd1cad3b)
Diffstat (limited to 'doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp')
0 files changed, 0 insertions, 0 deletions