多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(); bandwithCopy += this->m_BandWidth->text();
ipv6Copy += m_formerIPV6; ipv6Copy += m_formerIPV6;
ipv4Copy += this->m_IPV4->text(); ipv4Copy += this->m_IPV4->text();
if (m_IPV4Dns->toolTip().isEmpty()) { ipv4dnsCopy += this->m_IPV4Dns->getText();
ipv4dnsCopy += this->m_IPV4Dns->text();
} else {
ipv4dnsCopy += this->m_IPV4Dns->toolTip();
}
macCopy += this->m_Mac->text(); macCopy += this->m_Mac->text();
netDetailList.append(bandwithCopy); netDetailList.append(bandwithCopy);
netDetailList.append(ipv4Copy); netDetailList.append(ipv4Copy);