configuration: Use enum index

This commit is contained in:
lat9nq 2023-06-21 21:41:15 -04:00
parent 7168d30a6e
commit 61239d5b12
6 changed files with 31 additions and 26 deletions

View file

@ -75,7 +75,7 @@ private:
Settings::RendererBackend GetCurrentGraphicsBackend() const;
int FindIndex(std::type_index enumeration, int value) const;
int FindIndex(u32 enumeration, int value) const;
std::unique_ptr<Ui::ConfigureGraphics> ui;
QColor bg_color;