D7285: pim-sieve-editor: sieveeditormainwindow: use QPointer to protect crash of ImportImapSettingWizard

Denis Kurz noreply at phabricator.kde.org
Tue Aug 15 10:01:31 BST 2017


dkurz added a comment.


  In https://phabricator.kde.org/D7285#135693, @mlaurent wrote:
  
  > yep but here we didn"t use data from wizard so I don't see where it can crash
  
  
  Without QPointer, the destructor of the dialog is always called at the end of slotImportImapSettings(). Problem is, the dialog might not exist any more. This is also discussed in https://phabricator.kde.org/D7291.

REPOSITORY
  R213 PIM Sieve Editor

REVISION DETAIL
  https://phabricator.kde.org/D7285

To: winterz, mlaurent
Cc: dkurz, #kde_pim, dvasin, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20170815/d7b87a87/attachment.html>


More information about the kde-pim mailing list