initialize date-of-birth to current date minus 9 years
This commit is contained in:
parent
6010bf6b59
commit
8792263a66
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
MetaDataModel::MetaDataModel(QObject *parent) : QAbstractTableModel(parent)
|
MetaDataModel::MetaDataModel(QObject *parent) : QAbstractTableModel(parent)
|
||||||
{
|
{
|
||||||
m_dateOfBirth.setDate(2010, 01, 01);
|
m_dateOfBirth = QDate::currentDate().addYears(-9);
|
||||||
m_dateOfTest = QDate::currentDate();
|
m_dateOfTest = QDate::currentDate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user