initialize date-of-birth to current date minus 9 years
This commit is contained in:
parent
6010bf6b59
commit
8792263a66
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue