summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/itemviews/qitemdelegate
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-05-27 16:30:35 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-06-07 18:43:17 +0200
commitad554707dc1e564fa0ac0f164ed093ddc80f14b0 (patch)
treeba899d6cdccb3deb39641f3b4b59e305a82ecfe5 /tests/auto/widgets/itemviews/qitemdelegate
parentc1ab14496a57c41ef63ed3a5e5abd110a235ecc7 (diff)
Simplify QDate::weekNumber()
Eliminate two local variables and don't even compute the year if we don't need it. Change-Id: If968c619750cead317641885a0fb9b9974954782 Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/auto/widgets/itemviews/qitemdelegate')
0 files changed, 0 insertions, 0 deletions