fix bug with virtual function

Signed-off-by: Mihail-M <Mihail-maryfich@yandex.ru>
Merge branch 'master' of https://github.com/Mihail-M/qreal