Use native path separators, fixup of 030dd9e, 3baec1c.

This commit is contained in:
Chocobo1 2015-08-15 14:25:55 +08:00
parent 331219dda8
commit cf3a87ed55
4 changed files with 5 additions and 4 deletions

View file

@ -509,7 +509,7 @@ QByteArray btjson::getPropertiesForTorrent(const QString& hash)
dataDict[KEY_PROP_COMPLETION_DATE] = -1;
dataDict[KEY_PROP_CREATION_DATE] = -1;
}
dataDict[KEY_PROP_SAVE_PATH] = torrent->savePathParsed();
dataDict[KEY_PROP_SAVE_PATH] = Utils::Fs::toNativePath(torrent->rootPath());
dataDict[KEY_PROP_COMMENT] = torrent->comment();
return json::toJson(dataDict);