Merge pull request #12204 from t895/config-migration

android: Multi directory UI
This commit is contained in:
liamwhite 2023-11-29 12:34:09 -05:00 committed by GitHub
commit aded28f276
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 848 additions and 122 deletions

View file

@ -924,12 +924,14 @@ std::string Config::AdjustOutputString(const std::string& string) {
// Windows requires that two forward slashes are used at the start of a path for unmapped
// network drives so we have to watch for that here
#ifndef ANDROID
if (string.substr(0, 2) == "//") {
boost::replace_all(adjusted_string, "//", "/");
adjusted_string.insert(0, "/");
} else {
boost::replace_all(adjusted_string, "//", "/");
}
#endif
// Needed for backwards compatibility with QSettings deserialization
for (const auto& special_character : special_characters) {