diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2012-11-20 14:55:20 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-20 17:10:19 +0100 |
commit | 4532a1399e10a677083300648cf18af9addab656 (patch) | |
tree | 6228c5bbe1ba61ca107cc81ebf7f377dee232e3c /src/corelib/xml/qxmlstream.h | |
parent | f439108c4f6e456d329a666fe5000d07538b63c1 (diff) |
QProxyStyle: fix the base style assignment in constructor
Assign the baseStyle member before calling setParent(), because that
will trigger ParentChange event and thus calls ensureBaseStyle(). The
baseStyle member must be set at that point, because otherwise it will
start creating a fallback base style.
Change-Id: I3522e41bb6b82e3fe2e7790d53a53978c18a027a
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/corelib/xml/qxmlstream.h')
0 files changed, 0 insertions, 0 deletions