diff --git a/src/corelib/io/qfilesystemengine_mac.mm b/src/corelib/io/qfilesystemengine_mac.mm index 258ae2e8e0..02765322f8 100644 --- a/src/corelib/io/qfilesystemengine_mac.mm +++ b/src/corelib/io/qfilesystemengine_mac.mm @@ -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 }