config option for KDirWatch method

Matthew Woehlke mw_triad at
Mon Aug 6 16:45:48 BST 2007

Andreas Pakulat wrote:
> +  KConfig config("kdeglobals");

Any reason you do not use KGlobal::config()?

> +  KConfigGroup group("KDirWatch",&config);

According to, 
you have the ctor arguments backwards?

Why not merge the two lines into this?

   KConfigGroup group(KGlobal::config(), "KDirWatch");

"Braaaaaaaaiins!" -- Zombies

More information about the kde-core-devel mailing list