Commit e17174f6 authored by Joris Guisson's avatar Joris Guisson
Browse files

Moving of torX directories is currently broken, this will be fixed later

svn path=/branches/ktorrent/2.0/; revision=593302
parent c48d2213
......@@ -676,6 +676,9 @@ namespace bt
bool TorrentControl::changeDataDir(const QString & new_dir)
#warning "This code is broken at the moment, will fix later"
return false;
// new_dir doesn't contain the torX/ part
// so first get that and append it to new_dir
int dd = datadir.findRev(DirSeparator(),datadir.length() - 2,false);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment