D13905: Fix KTextEditor::MainWindow to outlive the KTextEditor::View objects

Christoph Roick noreply at phabricator.kde.org
Tue Jul 10 22:31:44 BST 2018


croick added a comment.


  I just tried it and it seems to fix the same issue as my QPointer "hack". So of course I'm in favor of your solution.
  
  It adds a lot of `if (!m_mainWindow)`s, but I don't see how this can be avoided.

REPOSITORY
  R32 KDevelop

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

To: kossebau, #kdevelop, croick, mwolff
Cc: kdevelop-devel, antismap, iodelay, vbspam, njensen, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180710/e1576c05/attachment.html>


More information about the KDevelop-devel mailing list