Commit 04dbc56
chore: remove touchpad switch file existence check
Removed the touchpad switch file existence check functionality from the
mouse settings plugin. The implementation included:
1. Deleted touchpadSwitchFileExists() method from MouseModel class
2. Removed corresponding Q_PROPERTY declaration from header file
3. Eliminated visibility condition based on file existence in QML UI
This change was made because the touchpad switch file check is no
longer needed in the current system configuration. The file path "/proc/
uos/touchpad_switch" was specific to a particular environment and the
functionality has become obsolete with system updates.
Log: Removed touchpad switch file existence verification from mouse
settings
Influence:
1. Verify touchpad settings page loads correctly without file existence
check
2. Test touchpad functionality remains operational
3. Confirm no regression in mouse/touchpad configuration options
4. Validate UI layout consistency after removing the conditional
visibility
chore: 移除触摸板开关文件存在性检查
从鼠标设置插件中移除了触摸板开关文件存在性检查功能。具体修改包括:
1. 从 MouseModel 类中删除了 touchpadSwitchFileExists() 方法
2. 从头文件中移除了对应的 Q_PROPERTY 声明
3. 在 QML 界面中移除了基于文件存在性的可见性条件
进行此更改是因为在当前系统配置中不再需要触摸板开关文件检查。文件路径 "/
proc/uos/touchpad_switch" 特定于某个环境,随着系统更新该功能已变得过时。
Log: 从鼠标设置中移除了触摸板开关文件存在性验证
PMS: BUG-342407
Influence:
1. 验证触摸板设置页面在没有文件存在性检查时正确加载
2. 测试触摸板功能保持正常运行
3. 确认鼠标/触摸板配置选项没有回归问题
4. 验证移除条件可见性后 UI 布局的一致性1 parent 1bd24aa commit 04dbc56
File tree
3 files changed
+0
-9
lines changed- src/plugin-mouse
- operation
- qml
3 files changed
+0
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | 433 | | |
439 | 434 | | |
440 | 435 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
123 | | - | |
124 | | - | |
125 | 122 | | |
126 | 123 | | |
127 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
0 commit comments