Commit 3d40d9eb authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Fix spelling in browser example.


Change-Id: Id54fd7ca704bd9456c98765afdbaf04e3d46b33c
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Showing with 4 additions and 1 deletion
......@@ -135,7 +135,10 @@ bool WebPage::certificateError(const QWebEngineCertificateError &error)
QMessageBox msgBox;
msgBox.setIcon(QMessageBox::Warning);
msgBox.setText(error.errorDescription());
msgBox.setInformativeText(tr("If you wish so, you may continue with an unverified certicate. Accepting an unverified certicate means you may not be connected with the host you tried to connect to.\nDo you wish to override the security check and continue?"));
msgBox.setInformativeText(tr("If you wish so, you may continue with an unverified certificate. "
"Accepting an unverified certificate means "
"you may not be connected with the host you tried to connect to.\n"
"Do you wish to override the security check and continue?"));
msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
msgBox.setDefaultButton(QMessageBox::No);
return msgBox.exec() == QMessageBox::Yes;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment