删除无效日志代码
This commit is contained in:
parent
1fd5d96768
commit
484e576ee8
|
@ -104,9 +104,6 @@ void Ipv4Page::initUI() {
|
|||
netMaskEdit->setValidator(new QRegExpValidator(rx, this));
|
||||
firstDnsEdit->setValidator(new QRegExpValidator(rx, this));
|
||||
secondDnsEdit->setValidator(new QRegExpValidator(rx, this));
|
||||
|
||||
ipv4addressEdit->installEventFilter(this);
|
||||
netMaskEdit->installEventFilter(this);
|
||||
}
|
||||
|
||||
void Ipv4Page::initComponent() {
|
||||
|
@ -265,7 +262,6 @@ void Ipv4Page::onAddressTextChanged()
|
|||
{
|
||||
if (!getTextEditState(ipv4addressEdit->text())) {
|
||||
m_addressHintLabel->setText(tr("Invalid address"));
|
||||
qDebug() << "ipv4address invalid";
|
||||
} else {
|
||||
m_addressHintLabel->clear();
|
||||
}
|
||||
|
@ -275,7 +271,6 @@ void Ipv4Page::onNetMaskTextChanged()
|
|||
{
|
||||
if (!netMaskIsValide(netMaskEdit->text())) {
|
||||
m_maskHintLabel->setText(tr("Invalid subnet mask"));
|
||||
qDebug() << "ipv4 netMask invalid";
|
||||
} else {
|
||||
m_maskHintLabel->clear();
|
||||
}
|
||||
|
|
|
@ -177,9 +177,6 @@ void Ipv6Page::initUI() {
|
|||
|
||||
QRegExp prefix_rx("\\b(?:(?:12[0-8]|1[0-1][0-9]|^[1-9][0-9]?$)\\.){3}(?:12[0-8]|1[0-1][0-9]|^[1-9][0-9]?$)\\b");
|
||||
lengthEdit->setValidator(new QRegExpValidator(prefix_rx,this));
|
||||
|
||||
ipv6AddressEdit->installEventFilter(this);
|
||||
gateWayEdit->installEventFilter(this);
|
||||
}
|
||||
|
||||
void Ipv6Page::initComponent() {
|
||||
|
@ -244,7 +241,6 @@ void Ipv6Page::onAddressTextChanged()
|
|||
{
|
||||
if (!getIpv6EditState(ipv6AddressEdit->text())) {
|
||||
m_addressHintLabel->setText(tr("Invalid address"));
|
||||
qDebug() << "ipv6address invalid";
|
||||
} else {
|
||||
m_addressHintLabel->clear();
|
||||
}
|
||||
|
@ -254,7 +250,6 @@ void Ipv6Page::onGatewayTextChanged()
|
|||
{
|
||||
if (!getIpv6EditState(gateWayEdit->text())) {
|
||||
m_gateWayHintLabel->setText(tr("Invalid gateway"));
|
||||
qDebug() << "ipv6 gateway invalid";
|
||||
} else {
|
||||
m_gateWayHintLabel->clear();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue