Small code simplification.
This commit is contained in:
parent
4ff29d3b16
commit
6d829cdd86
@ -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
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user