1
0
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:
sledgehammer999 2012-12-01 17:48:18 +02:00
parent a899209a01
commit 47c40b04e4

View File

@ -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);