Updated About dialog to point to the correct EULA page and updated text
This commit is contained in:
@@ -32,7 +32,6 @@ CAboutDialog::CAboutDialog(QString versionText, QString richTextCopyrightNotice,
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
|
||||
connect(m_ui->m_transparentAgreement, &QLabel::linkActivated, this, &CAboutDialog::OnCustomerAgreement);
|
||||
connect(m_ui->m_transparentNotice, &QLabel::linkActivated, this, &CAboutDialog::OnPrivacyNotice);
|
||||
|
||||
m_ui->m_transparentTrademarks->setText(versionText);
|
||||
|
||||
@@ -41,7 +40,6 @@ CAboutDialog::CAboutDialog(QString versionText, QString richTextCopyrightNotice,
|
||||
m_ui->m_transparentAllRightReserved->setText(richTextCopyrightNotice);
|
||||
|
||||
m_ui->m_transparentAgreement->setObjectName("link");
|
||||
m_ui->m_transparentNotice->setObjectName("link");
|
||||
|
||||
setStyleSheet( "CAboutDialog > QLabel#copyrightNotice { color: #AAAAAA; font-size: 9px; }\
|
||||
CAboutDialog > QLabel#link { text-decoration: underline; color: #00A1C9; }");
|
||||
@@ -81,12 +79,7 @@ void CAboutDialog::mouseReleaseEvent(QMouseEvent* event)
|
||||
|
||||
void CAboutDialog::OnCustomerAgreement()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl(QStringLiteral("https://lfprojects.org/policies/terms-of-use/")));
|
||||
}
|
||||
|
||||
void CAboutDialog::OnPrivacyNotice()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl(QStringLiteral("https://lfprojects.org/policies/privacy-policy/")));
|
||||
QDesktopServices::openUrl(QUrl(QStringLiteral("https://www.o3debinaries.org/license")));
|
||||
}
|
||||
|
||||
#include <moc_AboutDialog.cpp>
|
||||
|
||||
@@ -30,7 +30,6 @@ public:
|
||||
private:
|
||||
|
||||
void OnCustomerAgreement();
|
||||
void OnPrivacyNotice();
|
||||
|
||||
void mouseReleaseEvent(QMouseEvent* event) override;
|
||||
void paintEvent(QPaintEvent* event) override;
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="m_transparentVersion">
|
||||
<property name="text">
|
||||
<string>Open 3D Engine Editor</string>
|
||||
<string>O3DE Editor</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||
@@ -102,7 +102,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="m_transparentDevelopedBy">
|
||||
<property name="text">
|
||||
<string>Development version</string>
|
||||
<string>Developer Preview</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||
@@ -164,19 +164,6 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="ClickableLabel" name="m_transparentNotice">
|
||||
<property name="text">
|
||||
<string>Privacy Notice</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||
</property>
|
||||
<property name="showDecoration" stdset="0">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer_2">
|
||||
<property name="orientation">
|
||||
|
||||
@@ -923,9 +923,9 @@ QString FormatRichTextCopyrightNotice()
|
||||
{
|
||||
// copyright symbol is HTML Entity = ©
|
||||
QString copyrightHtmlSymbol = "©";
|
||||
QString copyrightString = QObject::tr("Open 3D Engine and related materials Copyright %1 %2 Amazon Web Services, Inc., its affiliates or licensors.<br>By accessing or using these materials, you agree to the terms of the AWS Customer Agreement.");
|
||||
QString copyrightString = QObject::tr("Copyright %1 Contributors to the Open 3D Engine Project");
|
||||
|
||||
return copyrightString.arg(copyrightHtmlSymbol).arg(O3DE_COPYRIGHT_YEAR);
|
||||
return copyrightString.arg(copyrightHtmlSymbol);
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user