Let SettingsPage handle FontSelector and ColorButton automatically
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 27 Jul 2009 23:49:45 +0000 (01:49 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 6 Aug 2009 18:25:05 +0000 (20:25 +0200)
commit7fd13d1b1d6ec454ad622bdb0eefa72d6488c5fa
tree1cd45b8b364955454043a8bae7d9767065b372a0
parent89714033b9b0399f6855eb558217dc549813295d
Let SettingsPage handle FontSelector and ColorButton automatically

This means that SettingsPages can now handle both FontSelector and ColorButton automatically and
don't have to worry about tracking/saving/loading them. This should save us several hundred lines
of boilerplate code, and also some cute kittens.

I must reiterate that Qt's property system is worth a ton of bacon. At least.
src/uisupport/settingspage.cpp