move call of SetupZone from class constuctor to load function

This commit is contained in:
denk_mal 2021-02-17 15:58:14 +01:00
parent 813069a359
commit 59752dce98
2 changed files with 1 additions and 2 deletions

View file

@ -57,6 +57,7 @@ void DetectDasKeyboardControllers(hid_device_info *info_in, const std::string &n
else
{
RGBController_DasKeyboard *rgb_controller = new RGBController_DasKeyboard(controller);
rgb_controller->SetupZones();
rgb_controller->name = name;
ResourceManager::get()->RegisterRGBController(rgb_controller);