General cleanups/reformats

- Clean up imports
- Comment EmojiData
- Reorder TwitchAccount constructor
- Fix typo in TwitchChannel
- Add emoji parsing test code at the bottom of EmoteManager
This commit is contained in:
Rasmus Karlsson
2018-03-31 13:44:15 +02:00
committed by fourtf
parent c382fdc528
commit 964e1f249a
17 changed files with 118 additions and 64 deletions
+2
View File
@@ -2,6 +2,7 @@
namespace chatterino {
namespace widgets {
TitleBarButton::TitleBarButton()
: RippleEffectButton(nullptr)
{
@@ -114,5 +115,6 @@ void TitleBarButton::paintEvent(QPaintEvent *)
this->fancyPaint(painter);
}
} // namespace widgets
} // namespace chatterino
+3 -1
View File
@@ -4,6 +4,7 @@
namespace chatterino {
namespace widgets {
class TitleBarButton : public RippleEffectButton
{
public:
@@ -15,10 +16,11 @@ public:
void setButtonStyle(Style style);
protected:
virtual void paintEvent(QPaintEvent *) override;
void paintEvent(QPaintEvent *) override;
private:
Style style;
};
} // namespace widgets
} // namespace chatterino