mirror of https://github.com/cutefishos/calamares
[libcalamares] Handle integers prefixed with 0 or 0x
- QString to-integer members detect if an integer string begins with "0x" (base 16) or "0", base 8; but QVariant members do not. - QString: the C language convention is used is base is set to 0. - Convert to QString and use its member toLongLong() and set base to 0 to detect integer strings begin with a prefix.main
parent
635f53a804
commit
e68723f1c7
Loading…
Reference in New Issue