diff options
| author | comex <comexk@gmail.com> | 2015-06-02 18:38:19 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2015-06-02 18:38:19 -0400 |
| commit | a3b3f0522bce40ed6613ab97c1a64fe825b4ed66 (patch) | |
| tree | f46f75d4960816c8c8905e2294130ac36d5bb11b /Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp | |
| parent | 2b5945ae07dbbf46e6e38d2524bf2112ef2b6324 (diff) | |
| parent | 45b07cbdcd97f2015dca5873c7949e9991ce23d4 (diff) | |
Merge pull request #1556 from comex/project-moration
Rudimentary version of Wii IPC determinism. Ported from my old udpnet branch.
Diffstat (limited to 'Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp b/Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp index 935ea03fee..a57774a8cd 100644 --- a/Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp +++ b/Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp @@ -162,12 +162,10 @@ void InterfaceConfigPane::LoadGUIValues() void InterfaceConfigPane::LoadThemes() { - CFileSearch::XStringVector theme_dirs; - theme_dirs.push_back(File::GetUserPath(D_THEMES_IDX)); - theme_dirs.push_back(File::GetSysDirectory() + THEMES_DIR); - - CFileSearch cfs(CFileSearch::XStringVector(1, "*"), theme_dirs); - auto const& sv = cfs.GetFileNames(); + auto sv = DoFileSearch({"*"}, { + File::GetUserPath(D_THEMES_IDX), + File::GetSysDirectory() + THEMES_DIR + }, /*recursive*/ false); for (const std::string& filename : sv) { std::string name, ext; |
