summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2012-07-25 10:09:20 (GMT)
committerChristian Mollekopf <chrigi_1@fastmail.fm>2012-07-25 10:14:33 (GMT)
commit6434359cb37b42766891d937867b5f198098fbfd (patch)
treedfb87346cf69fbbe35062bda6601f71bf7290832
parentad30baa6092185860c6ab688ff55b4309db523a0 (diff)
downloadlibcalendaring-6434359cb37b42766891d937867b5f198098fbfd.tar.gz
Disable the dbus interface to ktimezoned.
-rw-r--r--kdecore/date/ksystemtimezone.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/kdecore/date/ksystemtimezone.cpp b/kdecore/date/ksystemtimezone.cpp
index d8894dc..5846fc4 100644
--- a/kdecore/date/ksystemtimezone.cpp
+++ b/kdecore/date/ksystemtimezone.cpp
@@ -44,6 +44,8 @@
#include <QtCore/QStringList>
#include <QtCore/QTextStream>
+#define KDE_NO_TIMEZONED
+
#ifndef KDE_NO_TIMEZONED
#include <QtDBus/QDBusConnection>
#include <QtDBus/QDBusInterface>
@@ -66,6 +68,8 @@
#ifndef KDE_NO_TIMEZONED
#define KTIMEZONED_DBUS_IFACE "org.kde.KTimeZoned"
+#else
+#warning "building without timezoned support"
#endif
/* Return the offset to UTC in the current time zone at the specified UTC time.
@@ -897,4 +901,5 @@ QList<int> KSystemTimeZoneData::utcOffsets() const
return QList<int>();
}
-#include "../../ksystemtimezone.moc" \ No newline at end of file
+#include "../../ksystemtimezone.moc"
+