summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2012-12-12 12:55:21 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-12 14:49:46 +0100
commitf97c8d40c3eafa4360d6c2e51978c8de551e809a (patch)
tree309f59b6bebbbfb331cfecc063770ba1be4f6068 /src/opengl
parent303ff1bb1267322a730a5e7ac5a71a12d69d906a (diff)
De-inline all setters in QWindow
If we don't do this, we can have binary compatibility issues later. For example https://codereview.qt-project.org/#change,41700 will change the behavior of setWidth and setHeight to call setSize instead of setGeometry, because we don't want changing the height to also set the position of a window; if x and y are left uninitialized it needs to remember that fact. But if setWidth is left as an inline method, calling setGeometry, then an application which was built with 5.0 would behave differently than an application built with 5.1, even if Qt is upgraded after the application was built. To generalize, setters should never be inlined. Change-Id: I1ec42cb61a45fe541b3f3bb99d1b1ca24ad2a517 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/opengl')
0 files changed, 0 insertions, 0 deletions