summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2019-03-19 11:45:20 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2020-07-01 16:00:34 +0200
commitda7f4a4c7652f0c26b5492330e55936abf173c12 (patch)
treeb12c0e320d644ec218d8dde4949503e1ecee9bc9 /src/gui/opengl
parentb2bd2708b6f0e4d7fffbafc1ffd05c10578277aa (diff)
Replace a constant with a predicate function using it
Rather than naming a "GMT" string so as to repeatedly test whether a date-time's string representation ends in it, use a simple lambda to do the test, so that the string is only used in one place anyway. Makes the test code more readable. Change-Id: I5afad9ad5d58702bea7f24e5e5688ea4d738ae0d Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/gui/opengl')
0 files changed, 0 insertions, 0 deletions