Qt: add quickstart link to SSL warnings

This commit is contained in:
Megamouse 2019-10-23 01:04:34 +02:00
parent 8c28c4e8ec
commit 59747fd708
2 changed files with 12 additions and 4 deletions

View File

@ -115,8 +115,11 @@ void game_compatibility::RequestCompatibility(bool online)
if (QSslSocket::supportsSsl() == false) if (QSslSocket::supportsSsl() == false)
{ {
LOG_ERROR(GENERAL, "Can not retrieve the online database! Please make sure your system supports SSL."); LOG_ERROR(GENERAL, "Can not retrieve the online database! Please make sure your system supports SSL. Visit our quickstart guide for more information: https://rpcs3.net/quickstart");
QMessageBox::warning(nullptr, tr("Warning!"), tr("Can not retrieve the online database! Please make sure your system supports SSL.")); const QString message = tr("Can not retrieve the online database!<br>Please make sure your system supports SSL.<br>Visit our <a href='https://rpcs3.net/quickstart'>quickstart guide</a> for more information.");
QMessageBox box(QMessageBox::Icon::Warning, tr("Warning!"), message, QMessageBox::StandardButton::Ok, nullptr);
box.setTextFormat(Qt::RichText);
box.exec();
return; return;
} }

View File

@ -35,9 +35,14 @@ void update_manager::check_for_updates(bool automatic, QWidget* parent)
{ {
if (QSslSocket::supportsSsl() == false) if (QSslSocket::supportsSsl() == false)
{ {
LOG_ERROR(GENERAL, "Can't update! Please make sure your system supports SSL."); LOG_ERROR(GENERAL, "Unable to update RPCS3!Please make sure your system supports SSL. Visit our quickstart guide for more information: https://rpcs3.net/quickstart");
if (!automatic) if (!automatic)
QMessageBox::warning(parent, tr("Auto-updater"), tr("Can't update! Please make sure your system supports SSL.")); {
const QString message = tr("Unable to update RPCS3!<br>Please make sure your system supports SSL.<br>Visit our <a href='https://rpcs3.net/quickstart'>quickstart guide</a> for more information.");
QMessageBox box(QMessageBox::Icon::Warning, tr("Auto-updater"), message, QMessageBox::StandardButton::Ok, parent);
box.setTextFormat(Qt::RichText);
box.exec();
}
return; return;
} }