Fix compile error on iOS
Change-Id: I776967c5d69e8d2d318fb2670e401d4ee3dccb67 Reviewed-by: Lars Knoll <lars.knoll@qt.io>bb10
parent
343ba5f0a9
commit
8292e3c590
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue