Skip to content
Commit 017a0935 authored by Aaron J. Seigo's avatar Aaron J. Seigo
Browse files

use a QWeakPointer to track the lifespan of the task

the itemRemoved signal from TaskGroup has dangling pointers, apparently
by design (the next thing on my list to investigate), and the signal is
delayed. so between the actual deletion of the task and the signal, there
pointer is a dangler. easy solution is to just track it in the WindowTaskItem
itself with a cheap QWeakPointer.

BUG:272495

Conflicts:

	plasma/desktop/applets/tasks/windowtaskitem.cpp
parent 69bb80c9
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