move replay-related constants into ReplayTimelineWidget (#5166)

* move constants

* make the existing static const into a constexpr
This commit is contained in:
RickyRister 2024-11-09 02:18:51 -08:00 committed by GitHub
parent e894e78346
commit f0fb77bade
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 23 additions and 21 deletions

View file

@ -142,8 +142,6 @@ private:
QStackedWidget *mainWidget;
// Replay related members
static const int SMALL_SKIP_AMOUNT_MS = 1000;
static const int BIG_SKIP_AMOUNT_MS = 10000;
GameReplay *replay;
int currentReplayStep;
QList<int> replayTimeline;