Merge pull request #5219 from lioncash/common

FileSearch: Namespace functions under the Common namespace
This commit is contained in:
Mat M
2017-04-08 17:19:00 -04:00
committed by GitHub
9 changed files with 18 additions and 11 deletions

View File

@ -187,9 +187,9 @@ void InterfaceConfigPane::LoadGUIValues()
void InterfaceConfigPane::LoadThemes()
{
auto sv =
DoFileSearch({""}, {File::GetUserPath(D_THEMES_IDX), File::GetSysDirectory() + THEMES_DIR},
/*recursive*/ false);
auto sv = Common::DoFileSearch(
{""}, {File::GetUserPath(D_THEMES_IDX), File::GetSysDirectory() + THEMES_DIR},
/*recursive*/ false);
for (const std::string& filename : sv)
{
std::string name, ext;