Do not create save folder in advance

Closes #5422.
This commit is contained in:
Vladimir Golovnev (Glassez)
2016-06-26 16:48:11 +03:00
parent dbd079dfb8
commit c4e9291db4
2 changed files with 0 additions and 10 deletions

View File

@@ -1284,10 +1284,6 @@ void TorrentHandle::moveStorage(const QString &newPath)
if (QDir(oldPath) == QDir(newPath)) return;
qDebug("move storage: %s to %s", qPrintable(oldPath), qPrintable(newPath));
// Create destination directory if necessary
// or move_storage() will fail...
QDir().mkpath(newPath);
try {
// Actually move the storage
m_nativeHandle.move_storage(newPath.toUtf8().constData());