Skip to content
Commit 6e1ae053 authored by David Edmundson's avatar David Edmundson
Browse files

Fix crash in KAStatsFavouritesModel

Summary:
KAStatsFavouritesModel doesn't initialise a D-pointer for the lifespan
of the KAStatsFavouritesModel, like the name implies.

It is set in initForClient.

If the activity changes before we have a client ID, there's no point
doing anything and trying to use the clientID will crash.

BUG: 386439

Test Plan: None.

Reviewers: #plasma, hein

Reviewed By: #plasma, hein

Subscribers: anthonyfieroni, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D8608
parent 7a0c8acc
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