Small code simplification.

This commit is contained in:
LoRd_MuldeR 2021-02-21 13:54:15 +01:00
parent 4ff29d3b16
commit 6d829cdd86
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
#define VER_LAMEXP_MINOR_LO 9 #define VER_LAMEXP_MINOR_LO 9
#define VER_LAMEXP_TYPE RC #define VER_LAMEXP_TYPE RC
#define VER_LAMEXP_PATCH 3 #define VER_LAMEXP_PATCH 3
#define VER_LAMEXP_BUILD 2295 #define VER_LAMEXP_BUILD 2297
#define VER_LAMEXP_CONFG 2188 #define VER_LAMEXP_CONFG 2188
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View File

@ -1554,7 +1554,7 @@ void MainWindow::windowShown(void)
} }
//Update reminder //Update reminder
if(MUtils::OS::current_date() >= MUtils::Version::app_build_date().addYears(1).addMonths(3)) if (MUtils::OS::current_date() >= MUtils::Version::app_build_date().addMonths(18))
{ {
qWarning("Binary is more than a year old, time to update!"); qWarning("Binary is more than a year old, time to update!");
SHOW_CORNER_WIDGET(true); SHOW_CORNER_WIDGET(true);