Fix -Wdeprecated-copy warning
Summary: If we have a copy constructor, we need to have an assignment operator too
Reviewers: mlaurent
Reviewed By: mlaurent
Subscribers: KDE Applications, psn, ngraham, mlaurent
Differential Revision: https://phabricator.kde.org/D24552