[qt5.2] Update changes for Qt 5.2

This states variable was invalid for Qt 5.2 environment, now adjusted so that voicecall UI works again.
Merge pull request #5 from locusf/master

[qt5.2] Update changes for Qt 5.2