Index: sources/maintimer.cpp =================================================================== diff -u -r0a2ca0373a422201d5316df8fb891ef38799e3f9 -r56e378f7504701b9e9a9dccaf205aef2fd52c58e --- sources/maintimer.cpp (.../maintimer.cpp) (revision 0a2ca0373a422201d5316df8fb891ef38799e3f9) +++ sources/maintimer.cpp (.../maintimer.cpp) (revision 56e378f7504701b9e9a9dccaf205aef2fd52c58e) @@ -1,14 +1,15 @@ /*! * * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. - * \copyright \n - * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, \n - * IN PART OR IN WHOLE, \n - * WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. \n + * \copyright + * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN + * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * - * \file maintimer.cpp - * \date 2019/09/30 - * \author Behrouz NematiPour + * \file maintimer.cpp + * \author (last) Behrouz NematiPour + * \date (last) 03-Aug-2020 + * \author (original) Behrouz NematiPour + * \date (original) 24-Sep-2019 * */ #include "maintimer.h" @@ -68,6 +69,8 @@ static int oH,oM,oS; int cH,cM,cS; QDateTime::currentDateTime().date().getDate(&cy, &cm, &cd); + // coco begin validated: Decided to not to check each second + // has been tested manually if (vIncludeTime) { QTime currentTime = QDateTime::currentDateTime().time(); cH = currentTime.hour(); @@ -90,6 +93,7 @@ oM = cM; oS = cS; } + // coco end } else return false;