Git commit c7f2245a9763df629d14ef7d4e3c575b5cce3db6 by David Jarvie. Committed on 01/07/2011 at 00:45. Pushed by djarvie into branch 'KDE/4.7'. Output kError() message if ktimezoned time zone information is missing M +2 -0 kdecore/date/ksystemtimezone.cpp http://commits.kde.org/kdelibs/c7f2245a9763df629d14ef7d4e3c575b5cce3db6 diff --git a/kdecore/date/ksystemtimezone.cpp b/kdecore/date/ksystemtimezone.cpp index b30f354..782b5a5 100644 --- a/kdecore/date/ksystemtimezone.cpp +++ b/kdecore/date/ksystemtimezone.cpp @@ -337,6 +337,8 @@ void KSystemTimeZonesPrivate::readConfig(bool init) if (!init) config.reparseConfiguration(); KConfigGroup group(&config, "TimeZones"); + if (!group.exists()) + kError(161) << "No time zone information obtained from ktimezoned"; m_zoneinfoDir = group.readEntry("ZoneinfoDir"); m_zonetab = group.readEntry("Zonetab"); m_localZoneName = group.readEntry("LocalZone");