Commit e706751
committed
qtvcp: don't pop a modal error dialog when headless
The excepthook shows a modal QMessageBox for uncaught exceptions. Headless
(offscreen/CI) nobody can dismiss it, so it blocks forever; if the error is
during construction it hangs before SIGTERM is armed and qtdragon-quit times
out. When offscreen (or no QApplication), log the traceback, run shutdown,
and exit instead. Interactive path unchanged.1 parent 77e9f58 commit e706751
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
559 | 574 | | |
560 | 575 | | |
561 | 576 | | |
| |||
0 commit comments