summaryrefslogtreecommitdiffstats
path: root/header.LGPL3-COMM
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2017-04-10 11:17:51 +0200
committerGabriel de Dietrich <gabriel.dedietrich@qt.io>2017-04-21 16:52:36 +0000
commitb1131074199aae97b2a005cba871f6baf2a32c63 (patch)
treeedcdc246b18455fe16739379650a78481ba469a7 /header.LGPL3-COMM
parent5cde07350c99d68c9d1f3d92e0a5057e2bcba0db (diff)
QMacStyle: Fix scroller memory leakv5.9.0-beta3
Calling initWithFrame repeatedly on the same object leaks memory since internal structures allocated on the previous init call will not be released. However, initWithFrame is the only API that can set scroller direction, which is does based on the geometry. Use two scroller objets, one for each of the horizontal and vertical cases. Task-number: QTBUG-60004 Change-Id: I5d07b62e6969a1824ab705941ac4d0340139b99c Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Diffstat (limited to 'header.LGPL3-COMM')
0 files changed, 0 insertions, 0 deletions