seamless project model update

Milian Wolff mail at milianw.de
Mon Jul 12 12:23:20 UTC 2010


On Monday, 12. July 2010 04:46:26 Aleix Pol wrote:
> hi,
> This patch solves the problem we have when we try to refresh the
> projectmodel from another thread, it makes the method call to be triggered
> whenever the model thread runs the event loop. I know it's not a clean
> implementation (that's why I'm sending it here).
> 
> I'm sending a patch so that you can try how the reload feels after that
> change. I'm not commiting right away because I understand there's drawbacks
> and I suppose you will want to give your opinion. I think we could give it
> a try though.

Shouldn't the check go into appendRow itself? Instead of the ctor of the item?

Does it work with Generic Manager as well?

Have you tried showing the project root item directly upon starting the import 
job, which used to show the problems for me back then in cmake manager? Imo 
this should work with your patch then?

And: Even though it looks a bit hackish, I'm all in favor. Simply because the 
user impression will get much better.

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100712/e14bea42/attachment.sig>


More information about the KDevelop-devel mailing list