From 4dcc3b354b150ec9171e2a3b40f9e1588f7ae955 Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Mon, 15 Aug 2022 20:43:45 +0100 Subject: [PATCH] Remove program expiry --- default.json | 2 +- src/blackconfig/buildconfig.cpp | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/default.json b/default.json index f9bb2e2c8..c568e524d 100644 --- a/default.json +++ b/default.json @@ -37,7 +37,7 @@ "doxygen": true, "devBranch": false, "stableBranch": false, - "endOfLife": "20300101", + "endOfLife": "29990101", "vatsimSupport": true, "vatsim": { "id": "0xb9ba", diff --git a/src/blackconfig/buildconfig.cpp b/src/blackconfig/buildconfig.cpp index c523e5a53..1c87e0317 100644 --- a/src/blackconfig/buildconfig.cpp +++ b/src/blackconfig/buildconfig.cpp @@ -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)