Page MenuHomePhabricator

[QT] Fix QByteArray.append(const QString) deprecation warning in 5.15.1
ClosedPublic

Authored by Fabien on Sep 14 2020, 06:50.

Details

Summary

https://doc.qt.io/qt-5/qbytearray-obsolete.html#append-5
This function was implicitely calling toUtf8() to convert the string
to a byte array, so this diff does not change the behavior.

Test Plan
ninja all check-all

Check the deprecation warning is gone at build time.

Diff Detail

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

Event Timeline

Fabien requested review of this revision.Sep 14 2020, 06:50
Fabien retitled this revision from [QT] Fix QByteArray.append(const QString) deprectation warning in 5.15.1 to [QT] Fix QByteArray.append(const QString) deprecation warning in 5.15.1.Sep 14 2020, 07:51
This revision is now accepted and ready to land.Sep 14 2020, 16:21