Make the Settings caches flat structures
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 28 Jul 2009 14:58:07 +0000 (16:58 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 6 Aug 2009 18:25:05 +0000 (20:25 +0200)
commitadda0fa0aeef6087045256b250ff30c88ee7dc00
treed6a77854116a61fed22005bdbf7959616e2c79d9
parent7fd13d1b1d6ec454ad622bdb0eefa72d6488c5fa
Make the Settings caches flat structures

As settingspages tend to access values by absolute path (rather than by group and key),
we should use a flat hash rather than a nested tree structure, such that caching and
in particular the notifiers work with both the group/key combination and the absolute key.
This should also be slightly more efficient.
src/common/settings.cpp
src/common/settings.h