mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-10-02 10:06:47 -04:00
Insert (inactive) code to forbid execution after an expiration date.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8463 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
ebd7f465fd
commit
444b054e24
@ -3567,6 +3567,16 @@ void MainWindow::guiUpdate()
|
|||||||
if(m_config.my_callsign()=="SV5DKL") {
|
if(m_config.my_callsign()=="SV5DKL") {
|
||||||
Q_EMIT finished();
|
Q_EMIT finished();
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
qDebug() << "aa" << QDate::currentDate().toJulianDay() << QDate::currentDate().toJulianDay() - 2458150;
|
||||||
|
if((QDate::currentDate().toJulianDay() - 2458156) > 30) {
|
||||||
|
QString errorMsg;
|
||||||
|
MessageBox::critical_message (this,
|
||||||
|
"This release candidate has expired. Please upgrade\n"
|
||||||
|
"to latest release on the WSJT Home Page.\n", errorMsg);
|
||||||
|
Q_EMIT finished ();
|
||||||
|
}
|
||||||
|
*/
|
||||||
if(m_config.bHound()) {
|
if(m_config.bHound()) {
|
||||||
m_bWarnedHound=false;
|
m_bWarnedHound=false;
|
||||||
qint32 tHound=QDateTime::currentMSecsSinceEpoch()/1000 - m_tAutoOn;
|
qint32 tHound=QDateTime::currentMSecsSinceEpoch()/1000 - m_tAutoOn;
|
||||||
|
Loading…
Reference in New Issue
Block a user