diff --git a/src/Config.h b/src/Config.h index 54dc81e5..1080c9f0 100644 --- a/src/Config.h +++ b/src/Config.h @@ -25,7 +25,7 @@ #define VER_LAMEXP_MAJOR 4 #define VER_LAMEXP_MINOR_HI 0 #define VER_LAMEXP_MINOR_LO 2 -#define VER_LAMEXP_BUILD 424 +#define VER_LAMEXP_BUILD 425 #define VER_LAMEXP_SUFFIX Alpha-1 /* diff --git a/src/Dialog_About.cpp b/src/Dialog_About.cpp index c477a964..13388708 100644 --- a/src/Dialog_About.cpp +++ b/src/Dialog_About.cpp @@ -91,10 +91,15 @@ AboutDialog::AboutDialog(SettingsModel *settings, QWidget *parent, bool firstSta QString aboutText; aboutText += QString("

%1

").arg(tr("LameXP − Audio Encoder Front-end")); - aboutText += QString("Copyright (C) 2004-%1 LoRd_MuldeR <MuldeR2@GMX.de>. Some rights reserved.
").arg(max(lamexp_version_date().year(),QDate::currentDate().year())); + aboutText += QString("Copyright (C) 2004-%1 LoRd_MuldeR <MuldeR2@GMX.de>. Some rights reserved.
").arg(max(lamexp_version_date().year(), QDate::currentDate().year())); aboutText += QString("%1

").arg(versionStr); aboutText += QString("%1
").arg(tr("Please visit %1 for news and updates!").arg(LINK(lamexp_website_url()))); - aboutText += lamexp_version_demo() ? QString("%1
").arg(tr("Note: This demo (pre-release) version of LameXP will expire at %1.").arg(lamexp_version_expires().toString(Qt::ISODate))) : QString(); + + if(lamexp_version_demo()) + { + aboutText += QString("
%1").arg(tr("Note: This demo (pre-release) version of LameXP will expire at %1. Still %2 days left.").arg(lamexp_version_expires().toString(Qt::ISODate), QString::number(QDate::currentDate().daysTo(lamexp_version_expires())))); + } + aboutText += "

"; aboutText += "This program is free software; you can redistribute it and/or
"; aboutText += "modify it under the terms of the GNU General Public License
"; @@ -112,7 +117,7 @@ AboutDialog::AboutDialog(SettingsModel *settings, QWidget *parent, bool firstSta aboutText += QString("%1").arg(tr("Note: LameXP is free software. Do not pay money to obtain or use LameXP! If some third-party website tries to make you pay for downloading LameXP, you should not respond to the offer !!!")); aboutText += "

"; aboutText += QString("%1
").arg(tr("Special thanks go out to \"John33\" from %1 for his continuous support.").arg(LINK("http://www.rarewares.org/"))); - + setText(aboutText); setIconPixmap(dynamic_cast(QApplication::instance())->windowIcon().pixmap(QSize(64,64))); setWindowTitle(tr("About LameXP"));