diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2014-04-05 01:07:39 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-08 22:07:08 +0200 |
commit | 1baf8e9ad723ebc8299ab360f585dd1a35946a97 (patch) | |
tree | c56bcfc4680a76c86ca015f9884dae51bde0cc1c /doc | |
parent | c7dd6006b98536a80f02d96e660632ffa150934a (diff) |
QPageLayout: clean up operator==
The old code always compared the Private classes, unless one of them
was nullptr (which it never was, as there is no move ctor and all
other ctors create a QPageLayoutPrivate.
The new code compares the dpointers, and only if they differ, the
Private classes. It also drops the nullptr checks, as they cannot
trigger.
Change-Id: I523c3503e2edb520f98f9b4e2e3bdaf28a9a355d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions