mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Remove equality check from QBtSession::setDefaultSavePath().
This commit is contained in:
@@ -1774,7 +1774,7 @@ void QBtSession::addTorrentsFromScanFolder(QStringList &pathList) {
|
||||
}
|
||||
|
||||
void QBtSession::setDefaultSavePath(const QString &savepath) {
|
||||
if (QDir(defaultSavePath) == QDir(savepath) || savepath.isEmpty())
|
||||
if (savepath.isEmpty())
|
||||
return;
|
||||
|
||||
defaultSavePath = QDir::fromNativeSeparators(savepath);
|
||||
|
||||
Reference in New Issue
Block a user