Revision 017a093...
Go back to digest for 13th November 2011Bug Fixes in KDE Base
Aaron J. Seigo committed changes in [kde-workspace] /desktop/applets/tasks:
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.
Conflicts:
plasma/desktop/applets/tasks/windowtaskitem.cpp
File Changes
Modified 4 files
- /desktop/applets/tasks
- plasma/abstracttaskitem.cpp
- plasma/abstracttaskitem.h
- plasma/windowtaskitem.cpp
- plasma/windowtaskitem.h
4 files changed in total