summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qrect.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-05-12 19:15:23 -0700
committerThiago Macieira <thiago.macieira@intel.com>2016-06-10 17:57:13 +0000
commit72393ac3b6a8231d1157c58fe049606dd6c95736 (patch)
tree9f17ac162a1a6fe2ed4a2f8236bc34519e422b1b /src/corelib/tools/qrect.h
parentd1395b76cfb7207ccd8a8df4a613bed07acedf69 (diff)
Allow QDateTime to shrink back to short data mode on copy
We won't shrink on manipulation when we have memory allocated, but it's a good idea to create a non-shared copy if we can. It's an unlikely scenario, though, because it requires the QDateTime object to have been set to a large state then manipulated back into a small state. Change-Id: I06bae9392f534e45b3f1ffff144dfee755bafa01 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/tools/qrect.h')
0 files changed, 0 insertions, 0 deletions