Skip to content
Commit 41de7160 authored by Willyanto Willyanto's avatar Willyanto Willyanto Committed by Nicolas Fella
Browse files

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.

BUG: 426926
BUG: 427593
(cherry picked from commit 1be25dec)
parent b9eae656
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment