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, "doxygen": true,
"devBranch": false, "devBranch": false,
"stableBranch": false, "stableBranch": false,
"endOfLife": "20300101", "endOfLife": "29990101",
"vatsimSupport": true, "vatsimSupport": true,
"vatsim": { "vatsim": {
"id": "0xb9ba", "id": "0xb9ba",

View File

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