Simplify memory management of two private data members
- Use a QPixmap object instead of a QPixmap* Quote from the QPixmap documentation: "QPixmap objects can be passed around by value since the QPixmap class uses implicit data sharing."
- Replace another pointer by std::unique_ptr
Differential Revision: https://phabricator.kde.org/D15301