diff options
author | suhr <suhr> | 2009-12-09 13:41:01 +0000 |
---|---|---|
committer | suhr <suhr> | 2009-12-09 13:41:01 +0000 |
commit | 75ec4b5fdbeac5550ac6a8ded94dce0ee76da8db (patch) | |
tree | c4caf63997ec7c7c50784c9302e574f8cf336889 /client/widgets | |
parent | b3788942a76b42df450d5ccd5d5fa2604147b2b4 (diff) |
Fixed incompatability with older qt (pre 4.4).
Diffstat (limited to 'client/widgets')
-rw-r--r-- | client/widgets/datetime.cc | 4 |
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(); |