Browse Source

Remove equality check from QBtSession::setDefaultSavePath().

adaptive-webui-19844
sledgehammer999 12 years ago
parent
commit
47c40b04e4
  1. 2
      src/qtlibtorrent/qbtsession.cpp

2
src/qtlibtorrent/qbtsession.cpp

@ -1774,7 +1774,7 @@ void QBtSession::addTorrentsFromScanFolder(QStringList &pathList) { @@ -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);

Loading…
Cancel
Save