summaryrefslogtreecommitdiffstats
path: root/.qmake.conf
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-03-31 17:17:13 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-04-02 20:41:09 +0200
commit333d7e6de434fbe7777f948761ac5e7b5065d83f (patch)
tree005f749cce8bb29f56656c1283d6ce3867d3b123 /.qmake.conf
parent6387138a7991b4588639dc48847f175b5afaff84 (diff)
Clean up QTzTimeZonePrivate::systemTimeZoneId()
The special handling of ":/etc/localtime" should only apply if that's the exact value of $TZ; the old code would have treated "/etc/localtime" the same, due to stripping a leading ':' before checking for it. We can also test whether to do that stripping using startsWith(). When reading the content of files, avoid QTextStream's trip via QString and back to QByteArray by using the QFile's readLine() directly, or by using readAll(). Task-number: QTBUG-75585 Change-Id: I1524529a2c34d83a9fbd00d41c11f2d994dfc49d Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to '.qmake.conf')
0 files changed, 0 insertions, 0 deletions