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
+3 -3
View File
@@ -33,9 +33,9 @@ float BaseWidget::getScale() const
if (baseWidget == nullptr) {
return 1.f;
} else {
return baseWidget->scale;
}
return baseWidget->scale;
}
QSize BaseWidget::getScaleIndependantSize() const
@@ -98,7 +98,7 @@ void BaseWidget::childEvent(QChildEvent *event)
if (event->added()) {
BaseWidget *widget = dynamic_cast<BaseWidget *>(event->child());
if (widget) {
if (widget != nullptr) {
this->widgets.push_back(widget);
}
} else if (event->removed()) {