summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qstylehints.cpp
diff options
context:
space:
mode:
authorMartin Klapetek <mklapetek@kde.org>2015-12-04 16:00:57 -0500
committerMartin Klapetek <mklapetek@kde.org>2015-12-07 18:03:17 +0000
commit891c98ebd63b5a5b079a1f5a2736a29d89afcbd2 (patch)
treecac1faf6a1e60e34e5d9b3d60dba7aa988dd250c /src/gui/kernel/qstylehints.cpp
parent9dde61f4b3519b4de5b83fab463c8d8136baf5b6 (diff)
Don't treat "/etc/localtime" in TZ env var as a valid timezone id
On some Debian distros, the TZ environment variable can be set to ":/etc/localtime", which libc defines as "default value". If this is set, the current QTimeZone parsing code will return "/etc/localtime" as the system timezone id, which is clearly wrong. So in that case, just unset the ianaId variable and let the other blocks look for the timezone. Change-Id: I3f5795d0a05f4974a60556387a07a1e2e1e7aa30 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/kernel/qstylehints.cpp')
0 files changed, 0 insertions, 0 deletions