diff options
author | Jason Barron <jbarron@trolltech.com> | 2009-11-24 14:52:38 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-11-25 00:49:36 (GMT) |
commit | 0e429e4d26ede05a894039ce445a6bb57e124fd2 (patch) | |
tree | 1701b26bdb3ef6d92b9852dc4ac2441d4f08310d /doc/src/snippets/code/src_gui_util_qundostack.cpp | |
parent | c41db06f3365d6c9cd2285eb19feb185f493a98d (diff) | |
download | Qt-0e429e4d26ede05a894039ce445a6bb57e124fd2.zip Qt-0e429e4d26ede05a894039ce445a6bb57e124fd2.tar.gz Qt-0e429e4d26ede05a894039ce445a6bb57e124fd2.tar.bz2 |
Fix softkeys for QDialogButtonBoxes created without a parent.
Inthe case where a QDialogButtonBox was created without a parent, for
example in the FTP example, the softkeys that are automatically created
inside the button box were not being added to the right widget when the
button box was given a parent (or added to a layout) later.
This patch resolves that issue by handling the ParentChange event and
then adding the softkeys at this point.
Task-number: QTBUG-6086
Reviewed-by: axis
(cherry picked from commit a0c8e134a284d45520dd3a229e68dbcd155299e6)
Diffstat (limited to 'doc/src/snippets/code/src_gui_util_qundostack.cpp')
0 files changed, 0 insertions, 0 deletions