D8852: Fix crash deep inside VcsOverlayProxyModel::data()
Kevin Funk
noreply at phabricator.kde.org
Thu Nov 16 16:54:50 UTC 2017
kfunk created this revision.
Restricted Application added a subscriber: kdevelop-devel.
REVISION SUMMARY
VcsOverlayProxyModel::data() calls ProjectController::changesModel()
which currently is a non-const method which might create an instance
of ProjectChangesModel which in turn triggers some KJobs.
Avoid that by instantiating ProjectChangesModel() immediately during
startup. I don't think that has a real performance impact.
BUG: 384162
FIXED-IN: 5.2.1
REPOSITORY
R32 KDevelop
BRANCH
5.2
REVISION DETAIL
https://phabricator.kde.org/D8852
AFFECTED FILES
kdevplatform/shell/projectcontroller.cpp
To: kfunk
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20171116/ece087d0/attachment.html>
More information about the KDevelop-devel
mailing list