Merge branch '175534' into 'yhkylin/v101'

fix(有线开关):初始化有线开关时,以后端状态为准,同步gsetting(#175534)

See merge request kylinos-src/kylin-nm!245
This commit is contained in:
赵世旭 2023-08-11 09:35:01 +00:00
commit 75b8dbed5f
2 changed files with 16 additions and 2 deletions

15
debian/changelog vendored
View File

@ -1,3 +1,18 @@
kylin-nm (3.24.0.0-0k2.13) v101; urgency=medium
* BUG号:
-#175534 【系统登录】登录界面断开有线网络,进入系统后自动链接有线网络
-#185510 【GB18030-2022离线补丁包测试】【网络】添加有线网络名称粘贴test文件中的字符有乱码
-#186760 【走查】【VPN】托盘窗口布局与位置与预期不符
-#185833 【990】【移动热点】安装系统后首次打开移动热点控制面板闪退之后打开热点正常
-#186955 【网络】主题为深浅模式下,网络网卡位置未反白
-#187090 【网络代理】网络代理APT的重启电脑的窗口没有汉化
* 需求号:
* 其他改动:
* 影响域:自身
-- zhaoshixu <zhaoshixu@kylinos.cn> Fri, 11 Aug 2023 17:28:39 +0800
kylin-nm (3.24.0.0-0k2.12) v101; urgency=medium
* BUG号:

View File

@ -153,8 +153,7 @@ void LanPage::initNetSwitch()
wiredGsetting = m_switchGsettings->get(WIRED_SWITCH).toBool();
connect(m_switchGsettings, &QGSettings::changed, this, &LanPage::onSwithGsettingsChanged);
if (wiredEnable != wiredGsetting) {
wiredEnable = wiredGsetting;
m_wiredConnectOperation->setWiredEnabled(wiredGsetting);
m_switchGsettings->set(WIRED_SWITCH, wiredEnable);
}
}
} else {