summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2013-02-28 20:33:49 (GMT)
committerChristian Mollekopf <chrigi_1@fastmail.fm>2013-02-28 20:33:49 (GMT)
commit41b11ca2c9dfbcd570dbb60b350ed010316b4d95 (patch)
tree5a43c436320b7ae75ca8873e49683b938a2c6a31
parente133591c8667698cd471eaa70e79a13446c966e2 (diff)
downloadlibcalendaring-41b11ca2c9dfbcd570dbb60b350ed010316b4d95.tar.gz
Avoid error message when building without timezoned support.start
-rw-r--r--kdecore/date/ksystemtimezone.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kdecore/date/ksystemtimezone.cpp b/kdecore/date/ksystemtimezone.cpp
index ed2983c..c1124d4 100644
--- a/kdecore/date/ksystemtimezone.cpp
+++ b/kdecore/date/ksystemtimezone.cpp
@@ -319,6 +319,8 @@ KSystemTimeZonesPrivate *KSystemTimeZonesPrivate::instance()
kError(161) << "KSystemTimeZones: ktimezoned initialize() D-Bus call failed: " << reply.error().message() << endl;
kDebug(161)<<"instance(): ... initialised";
delete ktimezoned;
+#else
+ m_ktimezonedError = false;
#endif
// Read the time zone config written by ktimezoned
readConfig(true);