From 6d829cdd861b9da15ea1908093c6ac73453734b3 Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Sun, 21 Feb 2021 13:54:15 +0100 Subject: [PATCH] Small code simplification. --- src/Config.h | 2 +- src/Dialog_MainWindow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Config.h b/src/Config.h index 5d26cd6b..0fadff30 100644 --- a/src/Config.h +++ b/src/Config.h @@ -35,7 +35,7 @@ #define VER_LAMEXP_MINOR_LO 9 #define VER_LAMEXP_TYPE RC #define VER_LAMEXP_PATCH 3 -#define VER_LAMEXP_BUILD 2295 +#define VER_LAMEXP_BUILD 2297 #define VER_LAMEXP_CONFG 2188 /////////////////////////////////////////////////////////////////////////////// diff --git a/src/Dialog_MainWindow.cpp b/src/Dialog_MainWindow.cpp index 4f7a2774..e691f3ca 100644 --- a/src/Dialog_MainWindow.cpp +++ b/src/Dialog_MainWindow.cpp @@ -1554,7 +1554,7 @@ void MainWindow::windowShown(void) } //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!"); SHOW_CORNER_WIDGET(true);