Make StyledMessage more (space) efficient, clean up ChatlineModelItem
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 3 Oct 2008 21:16:10 +0000 (23:16 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 4 Oct 2008 21:53:28 +0000 (23:53 +0200)
* We really don't need to store styled strings for sender and timestamp
* We use only one format for all timestamps and one for all senders, no need to duplicate
* EditRole now provides raw undecorated data (i.e. QDateTime for timestamp and nickname for sender)
* QDateTime is shorter than a stringified timestamp
* No need to store constant strings (for sender col in non-plain msgs) in every StyledMessage
* Could simplify ChatlineModelItem as a result


No differences found