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
Branch
qt_deprectated_bytearray_append_string
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 12720
Build 25526: Build Diffbuild-without-wallet · build-clang-10 · build-clang-tidy · build-diff
Build 25525: arc lint + arc unit

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