Update gifFrameLength name as suggested by clang-tidy (#3947)
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user