mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 22:33:34 -07:00
parent
c1b38221d2
commit
011ac90a52
1 changed files with 1 additions and 1 deletions
|
@ -2479,7 +2479,7 @@ void Session::setDownloadPath(const QString &path)
|
||||||
{
|
{
|
||||||
const QString baseDownloadPath = specialFolderLocation(SpecialFolder::Downloads) + QLatin1String("/temp");
|
const QString baseDownloadPath = specialFolderLocation(SpecialFolder::Downloads) + QLatin1String("/temp");
|
||||||
const QString resolvedPath = (QDir::isAbsolutePath(path) ? path : Utils::Fs::resolvePath(path, baseDownloadPath));
|
const QString resolvedPath = (QDir::isAbsolutePath(path) ? path : Utils::Fs::resolvePath(path, baseDownloadPath));
|
||||||
if (resolvedPath != m_downloadPath)
|
if (resolvedPath == m_downloadPath)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (isDisableAutoTMMWhenDefaultSavePathChanged())
|
if (isDisableAutoTMMWhenDefaultSavePathChanged())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue