mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-11 06:40:39 +00:00
Qt: add quickstart link to SSL warnings
This commit is contained in:
parent
8c28c4e8ec
commit
59747fd708
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user