Commit 0bf1447
committed
fix: update QProcess command syntax for package management
Refactor the way QProcess commands are constructed for package management functions in PageInfo, DriverManager, and Utils. This change improves readability and consistency by using QStringList for command arguments instead of string concatenation.
https://pms.uniontech.com/task-view-386519.html1 parent c93947f commit 0bf1447
3 files changed
Lines changed: 5 additions & 7 deletions
File tree
- deepin-devicemanager-server/deepin-devicecontrol/src/drivercontrol
- deepin-devicemanager/src/Page
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
591 | 591 | | |
592 | 592 | | |
593 | 593 | | |
594 | | - | |
595 | | - | |
| 594 | + | |
596 | 595 | | |
597 | 596 | | |
598 | 597 | | |
| |||
607 | 606 | | |
608 | 607 | | |
609 | 608 | | |
610 | | - | |
| 609 | + | |
611 | 610 | | |
612 | 611 | | |
613 | 612 | | |
| |||
621 | 620 | | |
622 | 621 | | |
623 | 622 | | |
624 | | - | |
| 623 | + | |
625 | 624 | | |
626 | 625 | | |
627 | 626 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
| |||
0 commit comments