summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_xmlpatterns_api_qxmlformatter.cpp
diff options
context:
space:
mode:
authorjasplin <qt-info@nokia.com>2009-06-02 08:57:42 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-06-03 02:44:43 (GMT)
commit604646c9a688ae7213f42f1d5ca75f15aa12b332 (patch)
tree9abbd5c5301a8d3fb49489a8f01c53e21a3ab503 /doc/src/snippets/code/src_xmlpatterns_api_qxmlformatter.cpp
parent7903d967a045d8b08019cfa2f99c5c3e985a95d6 (diff)
downloadQt-604646c9a688ae7213f42f1d5ca75f15aa12b332.zip
Qt-604646c9a688ae7213f42f1d5ca75f15aa12b332.tar.gz
Qt-604646c9a688ae7213f42f1d5ca75f15aa12b332.tar.bz2
BT: Fixed crash on Mac caused by erroneous handling of native focus events.
On Mac, a widget with a NoFocus policy could still get focus (if only temporarily) as the result of a native focus event. In particular, a line edit with a completer should not lose focus (if only for a brief moment) as a result of the completer popup being shown. This will for example cause an item delegate to think that the user has navigated away from the cell and delete the line edit as a result. This will in turn cause the completer to access a null pointer. Reviewed-by: Richard Moe Gustavsen Task-number: 254456 and 254460 (cherry picked from commit 7314c07a3e443b1d5349b419a03db8d41ca43f7e)
Diffstat (limited to 'doc/src/snippets/code/src_xmlpatterns_api_qxmlformatter.cpp')
0 files changed, 0 insertions, 0 deletions