Fixed #6234 (FP : shift by too many bits is undefined on a QT container)