mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Wizard: Properly show error message
This commit is contained in:
parent
1ba1bdec2d
commit
30479cc5a2
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ void OwncloudSetupPage::setErrorString( const QString& err )
|
|||
_ui.errorLabel->setVisible(false);
|
||||
} else {
|
||||
if (_ui.leUrl->text().startsWith("https://")) {
|
||||
QString msg = tr("Could not connect securely. Do you want to connect unencrypted instead (not recommended)?").arg(err);
|
||||
QString msg = tr("Could not connect securely:\n\n%1\n\nDo you want to connect unencrypted instead (not recommended)?").arg(err);
|
||||
QString title = tr("Connection failed");
|
||||
if (QMessageBox::question(this, title, msg, QMessageBox::Yes, QMessageBox::No) == QMessageBox::Yes) {
|
||||
QUrl url(_ui.leUrl->text());
|
||||
|
|
Loading…
Reference in a new issue