Do not display !.qB extension in save path

This commit is contained in:
Christophe Dumez
2010-07-25 14:00:35 +00:00
parent 7ee9abd646
commit 5d1a584eac
3 changed files with 5 additions and 2 deletions

View File

@@ -963,7 +963,7 @@ QTorrentHandle Bittorrent::addTorrent(QString path, bool fromScanDir, QString fr
if(! torrentBackup.exists()) {
if(! torrentBackup.mkpath(torrentBackup.path())) {
std::cerr << "Couldn't create the directory: '" << qPrintable(torrentBackup.path()) << "'\n";
exit(1);
return h;
}
}
// Processing torrents