mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
Add warning about expire and redesign warning/error popup
Fixes Github Issue #38
This commit is contained in:
committed by
Mat Sutcliffe
parent
189bb15936
commit
1d4aa96e9b
@@ -97,6 +97,11 @@ namespace BlackConfig
|
||||
return QDateTime::currentDateTime() > getEol();
|
||||
}
|
||||
|
||||
int CBuildConfig::daysTillLifetimeExpiry()
|
||||
{
|
||||
return QDateTime::currentDateTime().daysTo(getEol());
|
||||
}
|
||||
|
||||
const QString boolToYesNo(bool v)
|
||||
{
|
||||
return v ? QStringLiteral("yes") : QStringLiteral("no");
|
||||
|
||||
Reference in New Issue
Block a user