summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2017-11-14 17:41:08 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2017-12-01 15:35:59 +0000
commit131f983574a8760f560364bb12b8bc150408e089 (patch)
tree12669cdf3c0981918fa87201d8259149f1f9dca4 /src/shared
parent440a245442d276e430adc5b0fdd60531de2327ec (diff)
Support years up to 9999 in dates and date-times
QDateTime and friends now do so, so the property manager should too. Change-Id: I3875bc0012957fdafa6f48897d943dcae0404832 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/qtpropertybrowser/qtpropertymanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/qtpropertybrowser/qtpropertymanager.cpp b/src/shared/qtpropertybrowser/qtpropertymanager.cpp
index 6382f4a69..9495c7e7a 100644
--- a/src/shared/qtpropertybrowser/qtpropertymanager.cpp
+++ b/src/shared/qtpropertybrowser/qtpropertymanager.cpp
@@ -1542,7 +1542,7 @@ public:
{
QDate val{QDate::currentDate()};
QDate minVal{QDate(1752, 9, 14)};
- QDate maxVal{QDate(7999, 12, 31)};
+ QDate maxVal{QDate(9999, 12, 31)};
QDate minimumValue() const { return minVal; }
QDate maximumValue() const { return maxVal; }
void setMinimumValue(const QDate &newMinVal) { setSimpleMinimumData(this, newMinVal); }