mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 14:36:01 +03:00
parent
c3b82e6818
commit
29d2094626
1 changed files with 3 additions and 1 deletions
|
@ -448,7 +448,9 @@ void AccountSettings::slotOCInfo( const QString& url, const QString& versionStr,
|
||||||
qDebug() << "#-------# oC found on " << url;
|
qDebug() << "#-------# oC found on " << url;
|
||||||
/* enable the open button */
|
/* enable the open button */
|
||||||
ui->connectLabel->setOpenExternalLinks(true);
|
ui->connectLabel->setOpenExternalLinks(true);
|
||||||
ui->connectLabel->setText( tr("Connected to <a href=\"%1\">%1</a>.").arg(url) );
|
QUrl safeUrl(url);
|
||||||
|
safeUrl.setPassword(QString()); // Remove the password from the URL to avoid showing it in the UI
|
||||||
|
ui->connectLabel->setText( tr("Connected to <a href=\"%1\">%2</a>.").arg(url, safeUrl.toString()) );
|
||||||
ui->connectLabel->setToolTip( tr("Version: %1 (%2)").arg(versionStr).arg(version));
|
ui->connectLabel->setToolTip( tr("Version: %1 (%2)").arg(versionStr).arg(version));
|
||||||
ui->_ButtonAdd->setEnabled(true);
|
ui->_ButtonAdd->setEnabled(true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue