mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Removed unused variables (#1394)
* Removed unused variables Fixes compiler warning C4189: Local variable is initialized but not referenced * fixed typo
This commit is contained in:
parent
f7b99e0636
commit
ce90253aac
3 changed files with 1 additions and 6 deletions
|
@ -151,9 +151,6 @@ void AB_THEME_CLASS::actuallyUpdate(double hue, double multiplier)
|
||||||
this->tabs.bottomLine = this->tabs.selected.backgrounds.regular.color();
|
this->tabs.bottomLine = this->tabs.selected.backgrounds.regular.color();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Split
|
|
||||||
bool flat = isLight_;
|
|
||||||
|
|
||||||
// Message
|
// Message
|
||||||
this->messages.textColors.link =
|
this->messages.textColors.link =
|
||||||
isLight_ ? QColor(66, 134, 244) : QColor(66, 134, 244);
|
isLight_ ? QColor(66, 134, 244) : QColor(66, 134, 244);
|
||||||
|
|
|
@ -156,7 +156,7 @@ namespace detail {
|
||||||
|
|
||||||
if (self->awaitingPong_)
|
if (self->awaitingPong_)
|
||||||
{
|
{
|
||||||
log("No pong respnose, disconnect!");
|
log("No pong response, disconnect!");
|
||||||
// TODO(pajlada): Label this connection as "disconnect
|
// TODO(pajlada): Label this connection as "disconnect
|
||||||
// me"
|
// me"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1128,8 +1128,6 @@ void TwitchMessageBuilder::appendTwitchBadges()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto app = getApp();
|
|
||||||
|
|
||||||
auto iterator = this->tags.find("badges");
|
auto iterator = this->tags.find("badges");
|
||||||
if (iterator == this->tags.end())
|
if (iterator == this->tags.end())
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue