Prevent crash when using QFlatAppearance on an iOS6 device