MSVC doesn't like mixing inline and override.
Restore Qt 5.1 compatibility.