Warning, /graphics/krita/3rdparty/ext_qt/0043-Android-Don-t-use-QDir-cleanPath-for-content-Uri.patch is written in an unsupported language. File is not indexed.

0001 From 09cec9a27573fe1b4610cb4c926c8ab7e75393cb Mon Sep 17 00:00:00 2001
0002 From: Sharaf Zaman <shzam@sdf.org>
0003 Date: Wed, 1 Sep 2021 11:33:47 +0000
0004 Subject: [PATCH 43/46] Android: Don't use QDir::cleanPath() for content Uri
0005 
0006 ---
0007  src/corelib/io/qdir.cpp | 5 +++++
0008  1 file changed, 5 insertions(+)
0009 
0010 diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp
0011 index 5c14d8ffb3..28c220014d 100644
0012 --- a/src/corelib/io/qdir.cpp
0013 +++ b/src/corelib/io/qdir.cpp
0014 @@ -2370,6 +2370,11 @@ static QString qt_cleanPath(const QString &path, bool *ok)
0015  */
0016  QString QDir::cleanPath(const QString &path)
0017  {
0018 +#ifdef Q_OS_ANDROID
0019 +    if (path.startsWith(QLatin1String("content://"))) {
0020 +        return path;
0021 +    }
0022 +#endif
0023      return qt_cleanPath(path);
0024  }
0025  
0026 -- 
0027 2.33.0
0028