Commit d3b60cc
committed
linux: fix crash on tray Open/Settings and add Fusion style fallback
- Fix segfault when calling .first() on empty rootObjects() or
topLevelWindows() lists in tray menu handlers
- Add Fusion as fallback Qt Quick Controls style to prevent QML load
failures when platform theme modules (e.g., kvantum) are not installed
- Override QT_STYLE_OVERRIDE=kvantum to Fusion before QApplication init
The Fusion style is built into Qt and available on all platforms
(X11, Wayland, KDE, GNOME, etc.), ensuring the app works regardless
of the user's theme configuration.1 parent e4c4262 commit d3b60cc
1 file changed
+25
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
551 | | - | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
552 | 556 | | |
553 | 557 | | |
554 | 558 | | |
| |||
559 | 563 | | |
560 | 564 | | |
561 | 565 | | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
562 | 570 | | |
563 | 571 | | |
564 | 572 | | |
565 | 573 | | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | 574 | | |
571 | 575 | | |
572 | 576 | | |
573 | 577 | | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
574 | 582 | | |
575 | 583 | | |
576 | 584 | | |
577 | 585 | | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | 586 | | |
583 | 587 | | |
584 | 588 | | |
| |||
1092 | 1096 | | |
1093 | 1097 | | |
1094 | 1098 | | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
1095 | 1104 | | |
1096 | 1105 | | |
1097 | 1106 | | |
| |||
1224 | 1233 | | |
1225 | 1234 | | |
1226 | 1235 | | |
1227 | | - | |
1228 | | - | |
1229 | | - | |
1230 | | - | |
1231 | | - | |
1232 | | - | |
| 1236 | + | |
1233 | 1237 | | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
1234 | 1243 | | |
1235 | 1244 | | |
1236 | 1245 | | |
| |||
0 commit comments