https://bugs.kde.org/show_bug.cgi?id=426926

Nicolas Fella <nicolas.fe...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-desktop/commit/1b |ma/plasma-desktop/commit/41
                   |e25decb52d5502ff8d922c02a32 |de7160674b3c76293209cf34ace
                   |05ceee1143a                 |dd0af8d8dec

--- Comment #7 from Nicolas Fella <nicolas.fe...@gmx.de> ---
Git commit 41de7160674b3c76293209cf34acedd0af8d8dec by Nicolas Fella, on behalf
of Willyanto Willyanto.
Committed on 08/02/2021 at 16:08.
Pushed by nicolasfella into branch 'Plasma/5.21'.

Fix crash when deleting activity from activity manager

When deleting activity from activity manager, the delete button is destroyed
while handling onClicked signal. This happens because
ActivitySettings.deleteActivity() is calling QMessageBox::question() that
waits for user confirmation.

Change deleteActivity call to use QMetaObject with QueuedConnection as the
connectivity type. This allows the delete button to be destroyed without
having to wait for user confirmation.
Related: bug 427593
(cherry picked from commit 1be25decb52d5502ff8d922c02a3205ceee1143a)

M  +7    -5    kcms/activities/imports/activitysettings.cpp

https://invent.kde.org/plasma/plasma-desktop/commit/41de7160674b3c76293209cf34acedd0af8d8dec

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to