mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +08:00
Remove program expiry
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user