Use of KDirWatch

Marco Martin notmart at gmail.com
Mon Aug 11 16:09:45 UTC 2014


On Friday 08 August 2014, Eike Hein wrote:
> Hi,
> 
> many things in Plasma use KDirWatch to keep an eye on changes,
> e.g. the theming and look-and-feel systems, and they usually
> go through the KDirWatch::self() instance.
> 
> The gotcha with using the shared instance is that slots
> connected to its signals then have to make sure to discard
> notifications about files they don't actually care about but
> *others* do, and Plasma code currently isn't rigorous on that.
> While the theming code is smart about it, I just spotted a
> slot in the look-and-feel code that isn't.

fixed that one

-- 
Marco Martin


More information about the Plasma-devel mailing list