Remove program expiry

This commit is contained in:
Mat Sutcliffe
2022-08-15 20:43:45 +01:00
parent ee80d352d5
commit 4dcc3b354b
2 changed files with 3 additions and 4 deletions

View File

@@ -37,7 +37,7 @@
"doxygen": true,
"devBranch": false,
"stableBranch": false,
"endOfLife": "20300101",
"endOfLife": "29990101",
"vatsimSupport": true,
"vatsim": {
"id": "0xb9ba",

View File

@@ -93,13 +93,12 @@ namespace BlackConfig
bool CBuildConfig::isLifetimeExpired()
{
if (!getEol().isValid()) { return true; }
return QDateTime::currentDateTime() > getEol();
return false;
}
int CBuildConfig::daysTillLifetimeExpiry()
{
return QDateTime::currentDateTime().daysTo(getEol());
return 365000;
}
static QString boolToYesNo(bool v)