mirror-kde-plasma-desktop/kcms/activities/utils
Daniel Hast 38ed0d909f fix(kcm_activities): replace continue_with with QFuture::then
This fixes use-after-free errors caused by an ownership issue with the
future watcher in `continue_with`, which was detectable in Valgrind and
also caused a segfault when the KCM was run with hardened_malloc; these
errors no longer occur on my system with this fix.

Also removed the obsolete `optional_view`, which can be replaced with
`std::optional`.

Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
2025-07-29 07:53:32 -06:00
..
d_ptr.h port all headers to pragma once 2022-12-17 14:18:42 +00:00
d_ptr_implementation.h port all headers to pragma once 2022-12-17 14:18:42 +00:00