Avoid warning when building for Qt 4