This is done in a way which should simplify abstracting it to other
types of accounts if needed in the future
Remove comment about removing singletons - we're keeping them (and probably restoring some)
IrcManager now updates its "account" reference automatically through the
AccountManager.Twitch.userChanged-signal
Remove unused IrcManager getUser-method
IrcManager::beginConnecting is no longer called asynchronously. This
might want to be reverted in a more controlled asynchronous manner.
User Accounts are now stored as Shared Pointers instead of using
references/copies everywhere
Remove unused constructor of messages::Message
Fixed LimitedQueueSnapshot _-prefixes
Changed LimitedQueueSnapshot's usage of int to std::size_t
ColorScheme is no longer a singleton
Created a "BaseWidget" class which is pretty much a QWidget except it
has a reference of ColorScheme since most widgets will need a reference
to the style they should use.
BaseWidget can be implemented either with a BaseWidget parent (which
will copy the ColorScheme reference from the parent) or with a
normal QWidget parent and an explicit ColorScheme reference.
Save main window geometry on close
Fix font changing in the Settings Dialog
Update settings library version
Default to b.userName instead of message->account()
Made font updatable in the Settings dialog with a font dialog
More work on subscription badge loading
Known issues:
- Font isn't updated in a split until a new message is written in that split
- When font/font size is changed, old messages don't have their size updated causing weird layout of old messages
- Remove some underscore-prefixes
- Start using this-> more
- Remove a few of the singletons (We pass references to managers to
things that need it now. Might not be much better, but for now
it works. It also shows what places might be slightly wrong
designed)