mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 16:07:23 -06:00
Code clean up
This commit is contained in:
@@ -520,7 +520,7 @@ QString QTorrentHandle::firstFileSavePath() const {
|
||||
QString fsave_path = TorrentPersistentData::getSavePath(hash());
|
||||
if(fsave_path.isEmpty())
|
||||
fsave_path = save_path();
|
||||
fsave_path = fsave_path.replace("\\", "/");
|
||||
fsave_path.replace("\\", "/");
|
||||
if(!fsave_path.endsWith("/"))
|
||||
fsave_path += "/";
|
||||
fsave_path += filepath_at(0);
|
||||
|
||||
Reference in New Issue
Block a user