Small tweak.
This commit is contained in:
parent
704db332ea
commit
270c066965
@ -35,7 +35,7 @@
|
||||
#define VER_LAMEXP_MINOR_LO 1
|
||||
#define VER_LAMEXP_TYPE RC
|
||||
#define VER_LAMEXP_PATCH 1
|
||||
#define VER_LAMEXP_BUILD 2376
|
||||
#define VER_LAMEXP_BUILD 2377
|
||||
#define VER_LAMEXP_CONFG 2188
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -1463,8 +1463,11 @@ void MainWindow::windowShown(void)
|
||||
//First run?
|
||||
const bool firstRun = arguments.contains("first-run");
|
||||
if (firstRun)
|
||||
{
|
||||
if (m_settings->licenseAccepted() <= 0)
|
||||
{
|
||||
m_settings->licenseAccepted(0);
|
||||
}
|
||||
m_settings->autoUpdateCheckBeta(false);
|
||||
m_settings->syncNow();
|
||||
}
|
||||
@ -1518,7 +1521,7 @@ void MainWindow::windowShown(void)
|
||||
return;
|
||||
}
|
||||
|
||||
//Check for expiration
|
||||
//Check for expiration of "pre-release" version
|
||||
if(lamexp_version_test())
|
||||
{
|
||||
if(MUtils::OS::current_date() >= lamexp_version_expires())
|
||||
@ -1543,7 +1546,7 @@ void MainWindow::windowShown(void)
|
||||
}
|
||||
|
||||
//Slow startup indicator
|
||||
if(m_settings->slowStartup() && m_settings->antivirNotificationsEnabled())
|
||||
if((!firstRun) && m_settings->slowStartup() && m_settings->antivirNotificationsEnabled())
|
||||
{
|
||||
QString message;
|
||||
message += tr("It seems that a bogus anti-virus software is slowing down the startup of LameXP.").append("<br>");
|
||||
|
@ -58,7 +58,7 @@ static const bool ENABLE_CUSTOM_TOOLS = true;
|
||||
#define MAKE_REGEXP(STR) (((STR) && ((STR)[0])) ? QRegExp((STR)) : QRegExp())
|
||||
|
||||
/* constants */
|
||||
static const double g_allowedExtractDelay = 12.0;
|
||||
static const double g_allowedExtractDelay = 24.0;
|
||||
static const size_t BUFF_SIZE = 512;
|
||||
|
||||
/* number of CPU cores -> number of threads */
|
||||
|
Loading…
Reference in New Issue
Block a user