Skip to content
Commit 6d4591fb authored by Kevin Funk's avatar Kevin Funk
Browse files

Fix crash deep inside VcsOverlayProxyModel::data()

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

Reviewers: apol

Reviewed By: apol

Subscribers: mwolff, dfaure, brauch, apol, kdevelop-devel

Differential Revision: https://phabricator.kde.org/D8852
parent 53ec893e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment