Fixes for compatibility with different Qt (5.3 .. 5.9) and g++ (4.8 .. 6.3) versions
Authored by: hovercraft-sf 2017-06-18
Parent: [r96]
Child: [r98]