maxSize=0 in qt5 has special meaning