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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/commit/1b
                   |                            |e25decb52d5502ff8d922c02a32
                   |                            |05ceee1143a

--- Comment #5 from Nicolas Fella <nicolas.fe...@gmx.de> ---
Git commit 1be25decb52d5502ff8d922c02a3205ceee1143a by Nicolas Fella, on behalf
of Willyanto Willyanto.
Committed on 08/02/2021 at 16:05.
Pushed by nicolasfella into branch 'master'.

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 426926

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

https://invent.kde.org/plasma/plasma-desktop/commit/1be25decb52d5502ff8d922c02a3205ceee1143a

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

Reply via email to