Merge branch '2309bug1' into 'yhkylin/v101'

解决点击添加有线网络崩溃问题

See merge request kylinos-src/kylin-nm!224
This commit is contained in:
赵世旭 2023-07-24 08:33:21 +00:00
commit a1f591edfb
1 changed files with 22 additions and 22 deletions

View File

@ -83,34 +83,34 @@ public:
DetailWidget *m_ipv6Widget = nullptr; DetailWidget *m_ipv6Widget = nullptr;
DetailWidget *m_macWidget = nullptr; DetailWidget *m_macWidget = nullptr;
QPushButton *m_netCopyButton; QPushButton *m_netCopyButton = nullptr;
LineEdit *m_SSIDEdit; LineEdit *m_SSIDEdit = nullptr;
QLabel *m_SSIDLabel; QLabel *m_SSIDLabel = nullptr;
QLabel *m_Protocol; QLabel *m_Protocol = nullptr;
QLabel *m_SecType; QLabel *m_SecType = nullptr;
QLabel *m_Hz; QLabel *m_Hz = nullptr;
QLabel *m_Chan; QLabel *m_Chan = nullptr;
QLabel *m_BandWidth; QLabel *m_BandWidth = nullptr;
QLabel *m_IPV4; QLabel *m_IPV4 = nullptr;
FixLabel *m_IPV4Dns; FixLabel *m_IPV4Dns = nullptr;
FixLabel *m_IPV6; FixLabel *m_IPV6 = nullptr;
QLabel *m_Mac; QLabel *m_Mac = nullptr;
QLabel *m_autoConnect; QLabel *m_autoConnect = nullptr;
KBallonTip *m_copiedTip = nullptr; KBallonTip *m_copiedTip = nullptr;
// QWidget *autoFrame; // QWidget *autoFrame;
private: private:
QVBoxLayout *m_layout; QVBoxLayout *m_layout = nullptr;
QVBoxLayout *m_DetailLayout; QVBoxLayout *m_DetailLayout = nullptr;
QHBoxLayout *m_AutoLayout; QHBoxLayout *m_AutoLayout = nullptr;
QCheckBox *m_forgetNetBox; QCheckBox *m_forgetNetBox = nullptr;
bool m_IsWlan; bool m_IsWlan = false;
bool m_IsCreate; bool m_IsCreate = false;
QWidget *m_autoConWidget; QWidget *m_autoConWidget = nullptr;
QString m_formerSSID; QString m_formerSSID = nullptr;
QString m_formerIPV6; QString m_formerIPV6 = nullptr;
private Q_SLOTS: private Q_SLOTS:
void setEnableOfSaveBtn(); void setEnableOfSaveBtn();