Make UiStyle::styleString() and friends static
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 18 Jun 2009 08:21:56 +0000 (10:21 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 6 Aug 2009 18:25:05 +0000 (20:25 +0200)
styleString() actually just converts our internal format codes into a list
of FormatTypes, which are only used as keys for getting a particular format from
a particular style. Hence, styleString() itself can be made static. Amongst other things,
this has the advantage that StyledMessage's lazy styling can be encapsulated properly, and
there is no need to externally ensure that the message has been styled.


No differences found