[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 261519] CMake project configuration dialog works incorrect
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2011-07-26 21:54:25
Message-ID: E1Qlpa5-0002ai-Nw () bugs ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=261519





--- Comment #3 from Andreas Pakulat <apaku gmx de>  2011-07-26 21:54:25 ---
Git commit 618eb5e13fd991921d38ae6e936d6836b94d25cf by Andreas Pakulat.
Committed on 26/07/2011 at 21:41.
Pushed by apaku into branch 'master'.

Fix cleanup of cache-model

Directly deleting the cache model and leaving a reference in the view
is dangerous as the related bugreport shows. I'm not sure why there was
an event sent out to the selectionmodel, but it seems this happens already
when deleting the model. The event however is delivered later on in the
nested event-loop from the kmessagebox and at that point the selectionmodel
is already gone.

So disconnect the selectionmodel properly, explicitly remove the model
from the view  and let the cache model alive for one round of
event-processing.

CCBUG: 261519

M  +3    -1    projectmanagers/cmake/settings/cmakepreferences.cpp

http://commits.kde.org/kdevelop/618eb5e13fd991921d38ae6e936d6836b94d25cf

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic