From 75ec4b5fdbeac5550ac6a8ded94dce0ee76da8db Mon Sep 17 00:00:00 2001 From: suhr Date: Wed, 9 Dec 2009 13:41:01 +0000 Subject: Fixed incompatability with older qt (pre 4.4). --- client/widgets/datetime.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client') diff --git a/client/widgets/datetime.cc b/client/widgets/datetime.cc index 8f85186..f5e74e7 100644 --- a/client/widgets/datetime.cc +++ b/client/widgets/datetime.cc @@ -35,7 +35,9 @@ DateTime::DateTime(QDomNode &node, MacroWindow *macrowindow) setCommonAttributes(this, node); setCalendarPopup(true); - setMinimumDateTime(QDateTime::fromTime_t(0)); +// setMinimumDateTime(QDateTime::fromTime_t(0)); + setMinimumDate(QDate(1900,1,1)); + setMinimumTime(QTime(0,0)); QDomElement elem = node.toElement(); -- cgit v1.2.3