HomePhabricator

qt: misc fixed for deprecation warnings

Description

qt: misc fixed for deprecation warnings

Summary:

qt: Fix headers

This change is preparation for Qt 6, and it fixes an experimental build
with Qt 6.2.4.

qt: Use | instead of + for key modifiers

This change is preparation for Qt 6 where + has been deprecated, and
it fixes an experimental build with Qt 6.2.4.

qt: Update deprecated enum value

This change is preparation for Qt 6, and it fixes an experimental build
with Qt 6.2.4.
The Qt::ItemIsTristate value has been deprecated since 5.6.0 (see
ae8406d82f541f6d9112bdac192e5e4e114d56aa upstream commit).

This is a backport of core-gui#577

Depends on D18137

Test Plan:
ninja all check-all
Test the shortcuts (e.g Ctrl + Shift + M in the overview window masks all amounts and recent transactions)

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>Authored on Apr 8 2022, 22:00
PiRKCommitted on May 26 2025, 09:53
PiRKPushed on May 26 2025, 09:53
Reviewer
Restricted Project
Differential Revision
D18138: qt: misc fixed for deprecation warnings
Parents
rABC50946bc94edf: qt: Avoid potential -Wdeprecated-enum-enum-conversion warnings
Branches
Unknown
Tags
Unknown

Event Timeline

PiRK committed rABC4e3c327e3eb2: qt: misc fixed for deprecation warnings (authored by Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>).May 26 2025, 09:53