HomePhabricator

[backport] qt: Replace functions deprecated in Qt 5.13 #16701

Description

[backport] qt: Replace functions deprecated in Qt 5.13 #16701

Summary:
c6dd32da697e5a8052cbabe8c7605d27c43a8dfb qt: Replace obsolete functions of QDesktopWidget (Hennadii Stepanov)
1260ecd812e35185898fd555ad3e01d019072bcf qt: Add TextWidth() wrapper (Hennadii Stepanov)

Pull request description:

The following functions are obsolete in Qt 5.13:

This PR replaces them and does not change behavior.


This is a backport from Core PR16701

Test Plan:

ninja check
run bitcoin-qt and click around to see everything is sane

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

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

Details

Provenance
Wladimir J. van der Laan <laanwj@protonmail.com>Authored on Aug 29 2019, 12:56
majcostaCommitted on Feb 29 2020, 00:13
majcostaPushed on Feb 29 2020, 00:13
Reviewer
Restricted Owners Package
Differential Revision
D5369: [backport] qt: Replace functions deprecated in Qt 5.13 #16701
Parents
rABCf984d28d55b3: Fix make dist by finishing RPM cleanup
Branches
Unknown
Tags
Unknown