Home GnuPG

EncryptEMailController: minor refactor

Description

EncryptEMailController: minor refactor

  • Initialize 'wizard' dialog in the Private constructor, it gets created on demand by the contoller that's created when the Tools -> Clipboard action is triggered
  • Rename ensuareWizardCreated() to createWizard() and make it non-const
  • Make wizard a built-in pointer, QPointer serves no purpose now as the dialog is always created in the Private constructor
  • Port to PMF signal/slot syntax
  • Remove slotWizardRecipientsResolved and connect directly to recipientsResolved
  • Replace one QTimer::singleShot() with queued method invocation

Event Timeline

Ahmad Samir <a.samirh78@gmail.com> committed rKLEOPATRA7e2df6ae81ee: EncryptEMailController: minor refactor (authored by Ahmad Samir <a.samirh78@gmail.com>).May 23 2022, 7:33 PM