move call of SetupZone from class constuctor to load function

This commit is contained in:
denk_mal committed 2021-03-31 11:13:06 +02:00
1 parent 813069a359
commit 59752dce98
2 files changed
+1 -2

No files matched your search

@@ -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);