mirror of
https://git.citron-emu.org/citron/emulator
synced 2026-01-06 09:54:23 +00:00
fix: resolve C4305 truncation warnings in QColor::fromHsvF calls
Add 'f' suffix to prevent double->float truncation warnings being treated as errors Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
@@ -214,7 +214,7 @@ void ConfigurePerGame::UpdateTheme() {
|
||||
rainbow_hue = 0.0f;
|
||||
}
|
||||
|
||||
QColor accent_color = QColor::fromHsvF(rainbow_hue, 0.8, 1.0);
|
||||
QColor accent_color = QColor::fromHsvF(rainbow_hue, 0.8f, 1.0f);
|
||||
QColor accent_color_hover = accent_color.lighter(115);
|
||||
QColor accent_color_pressed = accent_color.darker(120);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user