Fix compile with Qt 5.13 and QT_DISABLE_DEPRECATED_BEFORE=0x060000

Authored by marten on Feb 27 2019, 3:54 PM.