summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/widgets/datetime.cc4
1 files changed, 3 insertions, 1 deletions
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();