always use delayed updateInternal
authorMilian Wolff <mail@milianw.de>
Sun, 18 Jul 2010 13:13:09 +0000 (15:13 +0200)
committerMilian Wolff <mail@milianw.de>
Sun, 18 Jul 2010 13:13:09 +0000 (15:13 +0200)
commit7c1b16832626496d9d8e1a0b1250c90fc6692148
treef0038e265735186a55c2671054ee07efd26585c1
parentc33fc2c9f7bd5bb0e992e4208088999dd9119f46
always use delayed updateInternal

when kdevelop is started without any project and you save an untitled document as .cpp file,
the LangSupport's ctor creates a new CodeHighlighting leading to update() call.
In updateInternal, languagesForUrl is called again which would try to load the plugin again, which has to be prevented.
language/highlighting/colorcache.cpp