Page MenuHomePhabricator

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

Authored by majcosta on Feb 28 2020, 14:57.

Details

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

Diff Detail

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

Event Timeline

Owners added a reviewer: Restricted Owners Package.Feb 28 2020, 14:57

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those Bitcoin Core PRs have been inserted into the summary for reference.

removed calculateIdealFontSize function that is not part of this PR

majcosta planned changes to this revision.
This revision is now accepted and ready to land.Feb 28 2020, 23:53