remove disabled

This commit is contained in:
kangshuning 2021-12-21 09:47:35 +08:00
parent 571bdf085a
commit 9108664ee8
2 changed files with 0 additions and 4 deletions

View File

@ -746,7 +746,6 @@ void LanPage::initUI()
m_titleLabel->setText(tr("LAN"));
m_activatedNetLabel->setText(tr("Activated LAN"));
m_activatedNetLabel->setDisabled(true);
m_activatedLanListWidget = new QListWidget(m_activatedNetFrame);
m_activatedLanListWidget->setFrameShape(QFrame::Shape::NoFrame);
m_activatedLanListWidget->setSpacing(LAN_LIST_SPACING);
@ -755,7 +754,6 @@ void LanPage::initUI()
m_activatedNetLayout->addWidget(m_activatedLanListWidget);
m_inactivatedNetLabel->setText(tr("Inactivated LAN"));
m_inactivatedNetLabel->setDisabled(true);
m_inactivatedLanListWidget = new QListWidget(m_inactivatedNetListArea);
m_inactivatedLanListWidget->setFrameShape(QFrame::Shape::NoFrame);
m_inactivatedLanListWidget->setSpacing(LAN_LIST_SPACING);

View File

@ -74,7 +74,6 @@ void WlanPage::initWlanUI()
m_titleLabel->setText(tr("WLAN"));
m_activatedNetLabel->setText(tr("Activated WLAN"));
m_activatedNetLabel->setDisabled(true);
m_activatedNetListWidget = new QListWidget(m_activatedNetFrame);
m_activatedNetListWidget->setFrameShape(QFrame::Shape::NoFrame);
m_activatedNetListWidget->setContentsMargins(MAIN_LAYOUT_MARGINS);
@ -84,7 +83,6 @@ void WlanPage::initWlanUI()
m_activatedNetLayout->addWidget(m_activatedNetListWidget);
m_inactivatedNetLabel->setText(tr("Other WLAN"));
m_inactivatedNetLabel->setDisabled(true);
m_inactivatedNetListWidget = new QListWidget(m_inactivatedNetListArea);
m_inactivatedNetListWidget->setContentsMargins(MAIN_LAYOUT_MARGINS);
m_inactivatedNetListWidget->setSpacing(NET_LIST_SPACING);