Small fix for newer Qt versions.