fix: Fix broken <br/> tag in the tooltop of suggested IP addresses

This commit is contained in:
Yoshiaki Kasahara
2025-11-20 18:59:40 +09:00
committed by Chris Rizzitello
parent 10585e6afd
commit e7018bd75a

View File

@ -628,7 +628,7 @@ void MainWindow::updateNetworkInfo()
if (auto toolTipBase = tr("<p>If connecting via the hostname fails, try %1</p>"); ipList.count() < 2) {
ui->lblIpAddresses->setToolTip(toolTipBase.arg(tr("the suggested IP.")));
} else {
ui->lblIpAddresses->setToolTip(toolTipBase.arg(tr("one of the following IPs:<br/>%1").arg(ipList.join("br/>"))));
ui->lblIpAddresses->setToolTip(toolTipBase.arg(tr("one of the following IPs:<br/>%1").arg(ipList.join("<br/>"))));
}
}