Slightly increase update reminder timeout.
This commit is contained in:
parent
44779e1327
commit
fbbbe8faec
@ -1068,11 +1068,11 @@ void MainWindow::init(void)
|
|||||||
// Check for Expiration
|
// Check for Expiration
|
||||||
//---------------------------------------
|
//---------------------------------------
|
||||||
|
|
||||||
if(MUtils::Version::app_build_date().addMonths(6) < MUtils::OS::current_date())
|
if(MUtils::Version::app_build_date().addMonths(12) < MUtils::OS::current_date())
|
||||||
{
|
{
|
||||||
if(QWidget *cornerWidget = ui->menubar->cornerWidget()) cornerWidget->show();
|
if(QWidget *cornerWidget = ui->menubar->cornerWidget()) cornerWidget->show();
|
||||||
QString text;
|
QString text;
|
||||||
text += QString("<nobr><tt>%1</tt></nobr><br><br>").arg(tr("Your version of Simple x264 Launcher is more than 6 months old!").replace('-', "−"));
|
text += QString("<nobr><tt>%1</tt></nobr><br><br>").arg(tr("Your version of Simple x264 Launcher is more than 12 months old!").replace('-', "−"));
|
||||||
text += QString("<nobr><tt>%1<br><a href=\"%2\">%3</a><br><br>").arg(tr("You can download the most recent version from the official web-site now:").replace('-', "−"), QString::fromLatin1(update_url), QString::fromLatin1(update_url).replace("-", "−"));
|
text += QString("<nobr><tt>%1<br><a href=\"%2\">%3</a><br><br>").arg(tr("You can download the most recent version from the official web-site now:").replace('-', "−"), QString::fromLatin1(update_url), QString::fromLatin1(update_url).replace("-", "−"));
|
||||||
text += QString("<nobr><tt>%1</tt></nobr><br>").arg(tr("Alternatively, click 'Check for Updates' to run the auto-update utility.").replace('-', "−"));
|
text += QString("<nobr><tt>%1</tt></nobr><br>").arg(tr("Alternatively, click 'Check for Updates' to run the auto-update utility.").replace('-', "−"));
|
||||||
QMessageBox msgBox(this);
|
QMessageBox msgBox(this);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user