Revert "moving to QSharedPointer"

This reverts commit 38f73f9de6204f9d95fae0dad80c417a3f3b803f.