多DNS复制不全问题

This commit is contained in:
zhangyuanyuan1 2023-07-10 10:03:35 +08:00
parent 89e08aec95
commit 633fbd4c1e
1 changed files with 5 additions and 1 deletions

View File

@ -349,7 +349,11 @@ void DetailPage::on_btnCopyNetDetail_clicked()
bandwithCopy += this->m_BandWidth->text();
ipv6Copy += m_formerIPV6;
ipv4Copy += this->m_IPV4->text();
ipv4dnsCopy += this->m_IPV4Dns->text();
if (m_IPV4Dns->toolTip().isEmpty()) {
ipv4dnsCopy += this->m_IPV4Dns->text();
} else {
ipv4dnsCopy += this->m_IPV4Dns->toolTip();
}
macCopy += this->m_Mac->text();
netDetailList.append(bandwithCopy);
netDetailList.append(ipv4Copy);