configuration: Use enum index

This commit is contained in:
lat9nq
2023-06-21 21:41:15 -04:00
parent e7f01128f1
commit ca8509d205
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;