MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / SetConfigurationDirectory

Method SetConfigurationDirectory

ResourceManager.cpp:562–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560}
561
562void ResourceManager::SetConfigurationDirectory(const filesystem::path &directory)
563{
564 config_dir = directory;
565 settings_manager->LoadSettings(directory / "OpenRGB.json");
566 profile_manager->SetConfigurationDirectory(directory);
567
568 rgb_controllers_sizes.clear();
569 rgb_controllers_sizes = profile_manager->LoadProfileToList("sizes", true);
570}
571
572NetworkServer* ResourceManager::GetServer()
573{

Callers

nothing calls this directly

Calls 2

LoadSettingsMethod · 0.80
LoadProfileToListMethod · 0.80

Tested by

no test coverage detected