diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-04-07 18:43:05 +0800 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-04-07 18:43:07 +0800 |
commit | d12568e2f8863e76d82de3c6bd933e9f5c20daaf (patch) | |
tree | db968e328449deff63a166994bea5b88c02c4c83 /src/fs.h | |
parent | abc145c9a4aef8ec269b7e0a3e9403cff9970fe4 (diff) | |
parent | 56fe839e4e6d837b95b920a524570d11f7c3c5ce (diff) |
Merge #18549: qt: Fix Window -> Minimize menu item
56fe839e4e6d837b95b920a524570d11f7c3c5ce qt: Fix Window -> Minimize menu item (Hennadii Stepanov)
Pull request description:
Now Window -> Minimize menu item is broken on Linux.
Steps to reproduce:
1. start `bitcoin-qt`
2. activate Window -> Minimize menu item with a keyboard (not by a shortcut) or a mouse
**Expected behavior**
The main window gets minimized.
**Actual behavior**
The main window still unchanged. Even worse: the menu widget becomes a separate window:
![Screenshot from 2020-04-07 00-32-02](https://user-images.githubusercontent.com/32963518/78608129-ffb1dd80-7868-11ea-8e73-62ecc140ac1f.png)
This PR does not touch the macOS specific code as `qApp->focusWindow()` seems work on macOS flawlessly.
ACKs for top commit:
promag:
Tested ACK 56fe839e4e6d837b95b920a524570d11f7c3c5ce on bionic with qt 5.9.5.
Tree-SHA512: 3582e44ba181d859f5994b9cddc6ce1b60aa1db520a31dd3a0684336c79d558d7410ce7a1ab5b0860c6431b54d8acc3aa16e399717b4c70839861e6b6c4290c0
Diffstat (limited to 'src/fs.h')
0 files changed, 0 insertions, 0 deletions