Don't assume that the suffixes consist of 3 characters
Currently, the classifications list only contains 3-character suffixes, but magic numbers should still be avoided and there's really no reason not to use the actual size of the suffix. Also, since Qt 5.10 there's QString::chopped(). GnuPG-bug-id: 6168
parent
3d74a2e7
Please register or sign in to comment