D7285: pim-sieve-editor: sieveeditormainwindow: use QPointer to protect crash of ImportImapSettingWizard
Laurent Montel
noreply at phabricator.kde.org
Tue Aug 15 19:09:42 BST 2017
mlaurent added a comment.
I spoke about a real test case not a hypothetical testcase.
It's a wizard modal to apps => we can"t close it.
"qdbus org.kde.sieveeditor /MainApplication org.qtproject.Qt.QCoreApplication.quit" close apps + wizard without crash.
So if it's forbidden to use a element which has a QEventLoops on stack we need to have a policy for it as when I look at kdepim source code we use it in several place.
I never see in Qt doc that it's forbidden.
REPOSITORY
R213 PIM Sieve Editor
REVISION DETAIL
https://phabricator.kde.org/D7285
To: winterz, mlaurent
Cc: dvratil, dkurz, #kde_pim, dvasin, winterz, vkrause, mlaurent, knauss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20170815/d04d8d12/attachment.html>
More information about the kde-pim
mailing list