Fixed for Qt 5.2.1