mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 09:13:08 -07:00
Fix cancel "Set location" causes files move to installation dir.
Closes #6568.
This commit is contained in:
parent
0d3c670728
commit
faaafce35b
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ void TransferListWidget::setSelectedTorrentsLocation()
|
|||
|
||||
const QString newLocation = QFileDialog::getExistingDirectory(this, tr("Choose save path"), oldLocation,
|
||||
QFileDialog::DontConfirmOverwrite | QFileDialog::ShowDirsOnly | QFileDialog::HideNameFilterDetails);
|
||||
if (!QDir(newLocation).exists()) return;
|
||||
if (newLocation.isEmpty() || !QDir(newLocation).exists()) return;
|
||||
qDebug("New location is %s", qPrintable(newLocation));
|
||||
|
||||
// Actually move storage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue