Home GnuPG

Fix crash when reopening mainwindow

Description

Fix crash when reopening mainwindow

When the mainwindow is closed another open
causes it to be constructed again with a new
KeyListController. So we cannot have the
action data static in create actions
because it uses a this pointer which is subject
to change.

Part of

Details

Provenance
aheineckeAuthored on May 11 2022, 1:00 PM
Parents
rKLEOPATRA34e1d88d6d8b: Add missing include
Branches
Unknown
Tags
Unknown
Tasks
T5962: Kleopatra: Crash when quitting Application on Windows