Page MenuHomePhabricator

qt: Fix deprecated QCharRef usage
ClosedPublic

Authored by PiRK on Dec 22 2020, 14:38.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC227a327fd98b: 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.

Diff Detail

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