mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Update launcher/helper.cpp
Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>
This commit is contained in:
@@ -90,8 +90,8 @@ void performNativeCopy(QString src, QString dst)
|
||||
{
|
||||
#ifdef VCMI_ANDROID
|
||||
// %-encode unencoded parts of string.
|
||||
// This is needed because QT returns a mixed content url with %-encoded and unencoded parts. If Android >= 13 this causes problems reading this files, when using spaces and unicode characters in folder or filename.
|
||||
// Only these should encoded (other typically %-encoded chars should not encoded because this leads to errors).
|
||||
// This is needed because Qt returns a mixed content url with %-encoded and unencoded parts. On Android >= 13 this causes problems reading these files, when using spaces and unicode characters in folder or filename.
|
||||
// Only these should be encoded (other typically %-encoded chars should not be encoded because this leads to errors).
|
||||
// Related, but seems not completly fixed (at least in our setup): https://bugreports.qt.io/browse/QTBUG-114435
|
||||
auto safeEncode = [&](QString uri) -> QString
|
||||
{
|
||||
|
Reference in New Issue
Block a user