Commit ad2091de authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Masahiro Yamada
Browse files

kconfig: qconf: use preferred form of QString API



A QString constructed from a character literal of length 0, i.e. "", is not
"null" for historical reasons. This does not matter here so use the preferred
method isEmpty() instead.

Also directly construct empty QString objects instead of passing in an empty
character literal that has to be parsed into an empty object first.

Signed-off-by: default avatarRolf Eike Beer <eb@emlix.com>
Link: https://doc.qt.io/qt-6/qstring.html#distinction-between-null-and-empty-strings


Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 41a00051
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment