Compilation fix, presumably for older Qt versions.

Authored by zwabel on Aug 26 2016, 7:06 PM.