GODT-1797: copyright notice shows a date range with the build year.

This commit is contained in:
Xavier Michelon
2023-01-11 16:59:05 +01:00
parent 777ad369a2
commit c3eb6b2dbf
3 changed files with 11 additions and 1 deletions

View File

@ -102,6 +102,14 @@ bool QMLBackend::waitForEventStreamReaderToFinish(qint32 timeoutMs) {
}
//****************************************************************************************************************************************************
/// \return The build year as a string (e.g. 2023)
//****************************************************************************************************************************************************
QString QMLBackend::buildYear() {
return QString(__DATE__).right(4);
}
//****************************************************************************************************************************************************
/// \return The position of the cursor.
//****************************************************************************************************************************************************