Add todo for Qt 5.15
authorHannah von Reth <hannah.vonreth@owncloud.com>
Mon, 14 Dec 2020 12:35:05 +0000 (13:35 +0100)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 30 Dec 2020 15:17:47 +0000 (16:17 +0100)
src/common/filesystembase.cpp

index 9914c1a7e62842e09e794c8e795a0baf65389d9f..c42c8f70072ffda0f58a944b0fa27340497a9b9d 100644 (file)
@@ -372,6 +372,7 @@ bool FileSystem::remove(const QString &fileName, QString *errorString)
 
 bool FileSystem::moveToTrash(const QString &fileName, QString *errorString)
 {
+    // TODO: Qt 5.15 bool QFile::moveToTrash()
 #if defined Q_OS_UNIX && !defined Q_OS_MAC
     QString trashPath, trashFilePath, trashInfoPath;
     QString xdgDataHome = QFile::decodeName(qgetenv("XDG_DATA_HOME"));