Fix crash in KAStatsFavouritesModel

Authored by davidedmundson on Nov 13 2017, 10:03 AM.

Description

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

Details

Committed
davidedmundsonNov 13 2017, 10:23 AM
Reviewer
Plasma
Differential Revision
D8608: Fix crash in KAStatsFavouritesModel
Parents
R119:7a0c8acc1f07: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown