Update gifFrameLength name as suggested by clang-tidy (#3947)

This commit is contained in:
Felanbird
2022-09-04 13:25:34 -04:00
committed by GitHub
parent 7a4eda0e30
commit 92301e7d72
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ namespace chatterino {
void GIFTimer::initialize()
{
this->timer.setInterval(gifFrameLength);
this->timer.setInterval(GIF_FRAME_LENGTH);
this->timer.setTimerType(Qt::PreciseTimer);
getSettings()->animateEmotes.connect([this](bool enabled, auto) {
@@ -23,7 +23,7 @@ void GIFTimer::initialize()
qApp->activeWindow() == nullptr)
return;
this->position_ += gifFrameLength;
this->position_ += GIF_FRAME_LENGTH;
this->signal.invoke();
getApp()->windows->repaintGifEmotes();
});