mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Remove program expiry
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
"doxygen": true,
|
||||
"devBranch": false,
|
||||
"stableBranch": false,
|
||||
"endOfLife": "20300101",
|
||||
"endOfLife": "29990101",
|
||||
"vatsimSupport": true,
|
||||
"vatsim": {
|
||||
"id": "0xb9ba",
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user