From b8f66c9412e2306691ffb9f8a9d232198ebd13f4 Mon Sep 17 00:00:00 2001 From: t895 Date: Mon, 27 Nov 2023 14:56:25 -0500 Subject: android: Multi directory UI --- src/frontend_common/config.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/frontend_common') diff --git a/src/frontend_common/config.cpp b/src/frontend_common/config.cpp index 7474cb0f9..1a0491c2c 100644 --- a/src/frontend_common/config.cpp +++ b/src/frontend_common/config.cpp @@ -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) { -- cgit v1.2.3