- Do not use home folder as a fallback when the destination folder is not accessible

This commit is contained in:
Christophe Dumez
2009-12-17 20:01:18 +00:00
parent 779b53722b
commit b85d51ba79
2 changed files with 2 additions and 1 deletions

View File

@@ -1671,7 +1671,7 @@ QString Bittorrent::getSavePath(QString hash) {
if(!saveDir.mkpath(saveDir.path())) {
std::cerr << "Couldn't create the save directory: " << saveDir.path().toLocal8Bit().data() << "\n";
// XXX: handle this better
return QDir::homePath();
//return QDir::homePath();
}
}
return savePath;