mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Remove equality check from QBtSession::setDefaultSavePath().
This commit is contained in:
parent
a899209a01
commit
47c40b04e4
@ -1774,7 +1774,7 @@ void QBtSession::addTorrentsFromScanFolder(QStringList &pathList) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void QBtSession::setDefaultSavePath(const QString &savepath) {
|
void QBtSession::setDefaultSavePath(const QString &savepath) {
|
||||||
if (QDir(defaultSavePath) == QDir(savepath) || savepath.isEmpty())
|
if (savepath.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
defaultSavePath = QDir::fromNativeSeparators(savepath);
|
defaultSavePath = QDir::fromNativeSeparators(savepath);
|
||||||
|
Loading…
Reference in New Issue
Block a user