Page MenuHomePhabricator

qt: Replace `QCoreApplication::quit()` with `QCoreApplication::exit(0)`
ClosedPublic

Authored by PiRK on May 28 2025, 08:52.

Details

Summary

Qt 5:

  • no behavior change

Qt 6:

  • this change avoids sending a duplicated QEvent::Quit

This is a backport of core-gui#586

Test Plan

ninja all check-all
Run bitcoin-qt and quit the gui.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.May 28 2025, 08:52
This revision is now accepted and ready to land.May 28 2025, 09:03
PiRK requested review of this revision.May 29 2025, 14:28

will need to be rebased onto D18170 (if/when it is tested and reviewed)

PiRK planned changes to this revision.May 29 2025, 14:28
This revision is now accepted and ready to land.Jun 1 2025, 14:55