-
Kai Uwe Broulik authored
Instead of looking it up three times (contains, value, remove) we just take() which removes the item and returns it and delete that instead. If there is no such item Qt promises to return a null pointer which is safe to delete. Differential Revision: https://phabricator.kde.org/D1026
d59af0bf