aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquicklabel.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2018-04-05 11:06:34 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2018-04-05 12:31:44 +0000
commitd3c628fbd7b7d7f2a83e3e77d9318bb930b8b3b6 (patch)
tree02e022afdd87578d610659e946a5be0d2e92bbc5 /src/quicktemplates2/qquicklabel.cpp
parent068ca8ece0b345afd36bd846c1772fc6aa56fe21 (diff)
TextArea: fix background parent
QQuickTextAreaPrivate::attachFlickable() reparents the background from Flickable::contentItem to the Flickable itself. This avoids that the background scrolls together with the content. However, when deferred execution was enabled, attachFlickable() ended up being called before the background had been executed. If the TextArea has already been attached to a Flickable when the background gets exeuted, set the appropriate parent in setBackground(). Task-number: QTBUG-67334 Change-Id: I0847fca5861fdddeac7d47d47316b74bb31500cb Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> (cherry picked from commit 4a8c2605c26acf575e181682f083e077b815ab4b)
Diffstat (limited to 'src/quicktemplates2/qquicklabel.cpp')
0 files changed, 0 insertions, 0 deletions