windows build fix
also, fix for default icon not showing
Merge pull request #1315 from qreal/windows-build-fix

Windows build fix
Merge branch 'master' of github.com:qreal/qreal into robots
Fixed unbinding wrong tab when closing other than active one