QFile::moveFileToTrash: explicitly disable Android support
This code has been enabled but didn't work: we kept getting permission errors on use. So let's save some library size. Pick-to: 6.8 Change-Id: Ifb754f0e28774c20aa7cfffd17e7549e7624e42a Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
This commit is contained in:
parent
17d1d577c9
commit
c41b6b7986
@ -1182,7 +1182,7 @@ bool QFileSystemEngine::createLink(const QFileSystemEntry &source, const QFileSy
|
|||||||
|
|
||||||
#ifdef Q_OS_DARWIN
|
#ifdef Q_OS_DARWIN
|
||||||
// see qfilesystemengine_mac.mm
|
// see qfilesystemengine_mac.mm
|
||||||
#elif defined(QT_BOOTSTRAPPED) || !defined(AT_FDCWD)
|
#elif defined(QT_BOOTSTRAPPED) || !defined(AT_FDCWD) || defined(Q_OS_ANDROID)
|
||||||
// bootstrapped tools don't need this, and we don't want QStorageInfo
|
// bootstrapped tools don't need this, and we don't want QStorageInfo
|
||||||
//static
|
//static
|
||||||
bool QFileSystemEngine::supportsMoveFileToTrash()
|
bool QFileSystemEngine::supportsMoveFileToTrash()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user