Page MenuHomePhabricator

qt: Do not assume `qDBusRegisterMetaType` return type
ClosedPublic

Authored by PiRK on May 24 2025, 15:47.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC826973909760: qt: Do not assume `qDBusRegisterMetaType` return type
Summary

qDBusRegisterMetaType returns:

  • int in Qt 5
  • QMetaType in Qt 6

This is a backport of core#584
Depends on D18140

Test Plan

ninja all check-all

Not sure how to trigger that code path interactively. The change is probably trivial enough to assume it just works (we just inlined an unnecessary wrapper function).

Diff Detail

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