Hannah von Reth 5 лет назад
Родитель
Сommit
713a429675
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/common/filesystembase.cpp

+ 1 - 0
src/common/filesystembase.cpp

@@ -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"));