多DNS复制不全问题

This commit is contained in:
zhangyuanyuan1 2023-07-10 16:31:38 +08:00
parent dfd6c90d61
commit cee66ea6f6
1 changed files with 1 additions and 5 deletions

View File

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