mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Another magnet fix
This commit is contained in:
parent
2104e4e2ce
commit
faed0ba45a
@ -430,7 +430,7 @@ void torrentAdditionDialog::renameSelectedFile() {
|
|||||||
save_path = save_path.replace("\\", "/");
|
save_path = save_path.replace("\\", "/");
|
||||||
#endif
|
#endif
|
||||||
save_path = misc::expandPath(save_path);
|
save_path = misc::expandPath(save_path);
|
||||||
if(t->num_files() == 1) {
|
if(!is_magnet && t->num_files() == 1) {
|
||||||
new_path = QFileDialog::getSaveFileName(this, tr("Choose save path"), save_path);
|
new_path = QFileDialog::getSaveFileName(this, tr("Choose save path"), save_path);
|
||||||
} else {
|
} else {
|
||||||
const QDir saveDir(save_path);
|
const QDir saveDir(save_path);
|
||||||
|
Loading…
Reference in New Issue
Block a user