mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Improve function interface
`SettingsStorage` methods require `QString` so make `SettingValue` follow it. `Path::operator+` can use `QStringView` to accept wider audience.
This commit is contained in:
@@ -604,7 +604,7 @@ void TorrentFilesWatcher::Worker::processFailedTorrents()
|
||||
if (value >= MAX_FAILED_RETRIES)
|
||||
{
|
||||
LogMsg(tr("Rejecting failed torrent file: %1").arg(torrentPath.toString()));
|
||||
Utils::Fs::renameFile(torrentPath, (torrentPath + ".qbt_rejected"));
|
||||
Utils::Fs::renameFile(torrentPath, (torrentPath + u".qbt_rejected"));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user