Fixed #1017
Merge branch 'master' of github.com:qreal/qreal into fix1017
Removed reference ownership comments
Merge pull request #1020 from dvvrd/fix1017

Fixed #1017