Page MenuHomePhabricator

[Qt] Fix deprecated QString::SplitBehavior (now Qt::SplitBehavior)
ClosedPublic

Authored by Fabien on Jun 16 2020, 10:24.

Details

Summary

This diff adds a GUIUtil function to split a QString into a list,
skipping the empty parts. It factorizes the check for Qt version and
removes the associated deprecation warning.

Test Plan

With Qt 5.5.1 and 5.15:

ninja all check

Check the warning is gone.

Diff Detail

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