Fix compile error on iOS

Change-Id: I776967c5d69e8d2d318fb2670e401d4ee3dccb67
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
bb10
Lars Knoll 2020-05-02 15:47:55 +02:00
parent 343ba5f0a9
commit 8292e3c590
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,9 @@ bool QFileSystemEngine::moveFileToTrash(const QFileSystemEntry &source,
newLocation = QFileSystemEntry(QUrl::fromNSURL(resultingUrl).path());
return true;
#else // watch, tv, iOS don't have a trash can
Q_UNUSED(source);
Q_UNUSED(newLocation);
Q_UNUSED(error);
return false;
#endif
}