MCPcopy Create free account
hub / github.com/MyGUI/mygui / loadSettings

Method loadSettings

Tools/LayoutEditor/SettingsUpdateResourcesControl.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 void SettingsUpdateResourcesControl::loadSettings()
51 {
52 mResources->removeAllItems();
53 SettingsManager::VectorString paths =
54 SettingsManager::getInstance().getValueList("Resources/UpdateResource.List");
55 for (const auto& path : paths)
56 mResources->addItem(path);
57 }
58
59 void SettingsUpdateResourcesControl::saveSettings()
60 {

Callers

nothing calls this directly

Calls 3

getValueListMethod · 0.80
removeAllItemsMethod · 0.45
addItemMethod · 0.45

Tested by

no test coverage detected