aboutsummaryrefslogtreecommitdiff
path: root/src/policy/feerate.cpp
diff options
context:
space:
mode:
authorJohn Moffett <john.moff@gmail.com>2022-11-15 10:41:03 -0500
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-11-21 10:31:31 +0000
commit272fa2530493b13e4bf7c978e9768162f10ddf7f (patch)
tree09876c844542aee0a7364d79052bef0d9700d162 /src/policy/feerate.cpp
parent7b7bbc145aedf149c6d8675c7e252b0767bb8652 (diff)
Fixes bitcoin#26490 by preventing notifications
MacOS 13 sends a window focus change notification after the main window has been destroyed but before the QTApplication has been destroyed. This results in the menu bar receiving a notification despite it no longer existing. The solution is to pass the main window as context when subscribing to the notifications. Qt automatically unsubscribes to notifications if the sender OR context is destroyed. Github-Pull: bitcoin-core/gui#680 Rebased-From: 8a5014cd8a05b3ab86ae34a47653a82ce11bdf17
Diffstat (limited to 'src/policy/feerate.cpp')
0 files changed, 0 insertions, 0 deletions