summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2019-05-24 21:41:17 +0200
committerMarc Mutz <marc.mutz@kdab.com>2019-05-27 15:51:55 +0200
commitca0c9f82cbf7c8c37acdcbdfdc3fa0c5fc138059 (patch)
tree091da154ca185af5a49296ef69a8701974c238cc /src/gui
parent0eb26c144346dcb12008e5b3e9441073f09668a8 (diff)
QGraphicsWidget: overload two margins-setters with actual QMarginsF overloads
Replace manual memory management with unique_ptr and manual re-implementations of QMarginsF with The Real Thing™. The only noticeable difference should be that the checks for 0 now use qFuzzyCompare() (by way of QMarginsF::isNull() and its operator==). [ChangeLog][QtWidgets][QGraphicsWidget] Added QMarginsF overloads of setContentsMargins() and setWindowFrameMargins(). Change-Id: I6b3bb87015fa52fdde245b7528cca4b8f9ce41e1 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions