HomePhabricator

qt: Fix deprecated QCharRef usage

Description

qt: Fix deprecated QCharRef usage

Summary:
This change prevent a QCharRef deprecation warning if any modifier key is pressed while the spashscreen is still displayed, for Qt >= 5.14.
As a side effect, Ctrl+Q and Shift+Q will also close the splashscreen now.

This is a backport of core PR18101

Test Plan:
ninja && src/qt/bitcoin-qt -regtest
Press Q, or Ctrl+Q or Shift+Q while on the splashscreen.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D8741

Details

Provenance
Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>Authored on Dec 22 2020, 16:42
PiRKCommitted on Dec 22 2020, 16:48
abc-botPushed on Dec 22 2020, 16:49
Reviewer
Restricted Project
Differential Revision
D8741: qt: Fix deprecated QCharRef usage
Parents
rABC29b1a741de20: Update build-windows.md
Branches
Unknown
Tags
Unknown

Event Timeline

PiRK committed rABC227a327fd98b: qt: Fix deprecated QCharRef usage (authored by Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>).Dec 22 2020, 16:48